06.05.2014, 12:57
hello
i have problem.
my admin level 3. but not use command.
When the admin wants to use the rv command.
Text: Only Admin Level 3 To Use Command!!!
Please Help.
------------------------
sorry. my bad english
i have problem.
my admin level 3. but not use command.
Код:
CMD:rv(playerid,params[]) { if(PInfo[playerid][Level] >= 3) { for(new i = 0; i < MAX_VEHICLES; i++) { for(new x = 0; x < MAX_PLAYERS; x++) { if(!IsPlayerInAnyVehicle(x)) { SetVehicleToRespawn(i); } } } SendClientMessageToAll(0xFFFFFFFF,"{FF0000}Administrator Respawn Vehicle!!!"); SendClientMessage(playerid,0xFFFFFFFF,"{FF9900}You Respawn Vehicle!!!!"); } else { SendClientMessage(playerid,-4,"{FF9900}Only Admin Level 3 To Use Command!!!"); } return 1; }
Text: Only Admin Level 3 To Use Command!!!
Please Help.
------------------------
sorry. my bad english