Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Dan/Noc bz gonss
- // Ne brisite creditse
- #include <a_samp>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Dan/Noc FS by gonss ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/noc", true)==0)
- {
- SetPlayerTime(playerid,0,0);
- GameTextForPlayer(playerid,"Postavili ste vase vreme na nocno!",5000,5);
- return 1;
- }
- if (strcmp(cmdtext, "/dan", true)==0)
- {
- SetPlayerTime(playerid,13,0);
- GameTextForPlayer(playerid,"Postavili ste svoje vreme na dan!",5000,5);
- return 1;
- }
- return 1;
- }
- ///////////////////////////////////////////////////////////////////////////
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement