//------------------[Destroycars]-----------------// if(strcmp(cmd, "/destroycars", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 4) { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } for(new i = 0; i < sizeof(CreatedCars); i++) { if(i != 0) { DestroyVehicle(i); } } SendClientMessage(playerid, COLOR_GREY, " Created Vehicles destroyed !"); } return 1; } |
penls.pwn(1628 : error 017: undefined symbol "CreatedCars" penls.pwn(1628 : error 036: empty statement penls.pwn(1628 : error 017: undefined symbol "i" penls.pwn(1628 : fatal error 107: too many error messages on one line 4 Errors |