Respawn used cars
#7

If you use format, you should be passing values to it. For the lines where you have ------------.... you should just use
pawn Код:
SendClientMessageToAll(color, "------------------...");
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 Код:
if(IsPlayerInAnyVehicle(playerid) { unwanted[GetPlayerVehicleID(playerid)] = true; }
Reply


Messages In This Thread
Respawn unused cars - by Infinitas - 30.10.2010, 04:31
Re: Respawn used cars - by randomkid88 - 30.10.2010, 04:41
Re: Respawn used cars - by Infinitas - 30.10.2010, 04:50
Re: Respawn used cars - by randomkid88 - 30.10.2010, 17:15
Re: Respawn used cars - by <Weponz> - 30.10.2010, 17:19
Re: Respawn used cars - by Infinitas - 31.10.2010, 00:34
Re: Respawn used cars - by randomkid88 - 31.10.2010, 05:31
Re: Respawn used cars - by Infinitas - 01.11.2010, 02:34
Re: Respawn used cars - by (SF)Noobanatior - 01.11.2010, 05:15
Re: Respawn used cars - by Infinitas - 01.11.2010, 17:03

Forum Jump:


Users browsing this thread: 6 Guest(s)