13.04.2013, 18:13
This command is supposed to remove all roadblocks a swat created but it only removes two?
pawn Код:
CMD:rrball(playerid, params[])
{
if(GetPlayerTeam(playerid) != TEAM_SWAT)
return SendClientMessage(playerid, -1, "{FF0000}Error: {FFFFFF}Only S.W.A.T may use this command!");
for(new i = 0; i <= CreatedBlocks[i]; i++) DestroyObject(CreatedBlocks[i]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Roadblocks removed!");
return 1;
}