Administrátor Ewwe 434 Odesláno: 27. Červenec, 2014 Administrátor Share Odesláno: 27. Červenec, 2014 Zdarec Tak mě napadlo že bych se pochlubil prvním pluginem pro SA-MP. Je psaný v C++ a zkompilovaný pro windows Tenhle plugin je čistě ukázkový a využití v podstatě nemá pro funkci tohoto pluginu existuje jednoduchá alternativa v pawn... Instalace : server.cfg >> plugins Win32Project1 PAWN : native GetCurrentWeekDay(); native GetCurrentWeekDayEx(string[],len); Usage: printf("Dnes je %i. v týdnu",GetCurrentWeekDay()); //0 - Neděle //1 - Pondělí //2 - Úterý //3 - Středa //4 - Čtvrtek //5 - Pátek //6 - Sobota new string[32]; GetCurrentWeekDayEx(string,sizeof(string)); printf("Dnes je %s",string)); DOWNLOAD Link to comment Share on other sites More sharing options...
Deejva 36 Odesláno: 27. Červenec, 2014 Share Odesláno: 27. Červenec, 2014 Dobrá práce .. možná využiju, např. pro /Datum Neděle 27.7. Link to comment Share on other sites More sharing options...
Administrátor Ewwe 434 Odesláno: 28. Červenec, 2014 Author Administrátor Share Odesláno: 28. Červenec, 2014 Dobrá práce .. možná využiju, např. pro /Datum Neděle 27.7. Na to je lepší pure pawn funkce .... Tenhle plugin je jen takovej první pokus Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now