31.10.2010, 05:31
If you use format, you should be passing values to it. For the lines where you have ------------.... you should just use
instead of format.
Also, the line where you have "An AP:RP staff member..." should just be SendClientMessageToAll.
The only time you would use format in this case would be if you wanted to say which staff member, like "AP:RP Staff member Infinitas has respawned all vehicles".
Another thing: The "if" statement doesn't need to be in brackets. it should just be
pawn Код:
SendClientMessageToAll(color, "------------------...");
Also, the line where you have "An AP:RP staff member..." should just be SendClientMessageToAll.
The only time you would use format in this case would be if you wanted to say which staff member, like "AP:RP Staff member Infinitas has respawned all vehicles".
Another thing: The "if" statement doesn't need to be in brackets. it should just be
pawn Код:
if(IsPlayerInAnyVehicle(playerid) { unwanted[GetPlayerVehicleID(playerid)] = true; }