Quote:
Originally Posted by PawnHunter
There are many code mistakes. I just pointed out some of them:-
- Indent fucked up.
- Commands works only for admins because of this check:
PHP код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[ServerBoT]{FFFFFF}You aint authorised to use this command!");
- Using very old looping method:
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
Other than that, good work.
|
Ok dude, lel i will edit the condition, also about the loop, Im still loving it
ALSO: System's Edited,
PHP код:
if(!IsPlayerAdmin(playerid))
is removed since its useless, and replaced instead the condition of the (pEventor), you've to set yourself eventor (/seteventor) to do events, anything else, you wont be able to do!
Greetings! xD