Respawn used cars
#9

Код:
if(IsPlayerInAnyVehicle(playerid)) { unwanted[GetPlayerVehicleID(playerid)] = true; }
try this missing )
Код:
if(strcmp(cmd, "/respawnallcars", true) == 0)
{

SendClientMessageToAll(COLOR_WHITE,"-------------------------------------------------------------------------------------------------------------");
SendClientMessageToAll(COLOR_BRIGHTRED, "AP:RP SERVER NOTICE");
GetPlayerName(playerid,giveplayer,MAX_PLAYER_NAME);
format(string, sizeof(string),"AP:RP Staff Member %s has respawned all vehicles",giveplayer);
SendClientMessageToAll(COLOR_GREY,string);
SendClientMessageToAll(COLOR_WHITE,"-------------------------------------------------------------------------------------------------------------");
printf("%s",string);

       {
        if(IsPlayerInAnyVehicle(playerid)) {  unwanted[GetPlayerVehicleID(playerid])=true; }
        }

for(new v = 0; v <= MAX_VEHICLES; v++)
SetVehicleToRespawn(v);
}
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: 7 Guest(s)