Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // góra mapy
- enum bloki
- {
- gangmoze
- }
- new Czas[MAX_PLAYERS][bloki];
- WPrzykład wykorzystania Czas[playerid][gangmoze]
- CMD:Gang
- if(Czas[playerid][gangmoze] == 1)
- return MSG Nie możesz korzystac z cmd
- Czas[playerid][gangmoze] = 1
- SetTimerEx("MozeGang",30000,0,"d",playerid); //30s
- forward MozeGang(playerid);
- public MozeGang(playerid)
- {
- Czas[playerid][gangmoze] = 0;
- SendClientMessage(playerid,-1, "Mozesz wpisac juz ta cmd");
- return 1;
- }
Add Comment
Please, Sign In to add comment