Question about respawning cars
#3

Код:
if(strcmp(cmdtext,"/respawncars",true) == 0)
{
   new name[MAX_PLAYER_NAME],string[32];
   GetPlayerName(playerid,name,sizeof(name));
   format(string,sizeof(string),"The player \"%s\" has set the vehicles to respawn.",name);
   SendClientMessageToAll(COLOR,string);
   for(new i = 0; i < MAX_VEHICLES; i++)
   {
       if(IsPlayerInVehicle(i,i))
       {
           RemovePlayerFromVehicle(i);
       }
       SetVehicleToRespawn(i);
  }
  return 1;
}
Reply


Messages In This Thread
Question about respawning cars - by Ehab1911 - 13.06.2011, 12:48
Re: Question about respawning cars - by Gazmull - 13.06.2011, 13:00
Re: Question about respawning cars - by Skaizo - 13.06.2011, 13:05
Respuesta: Question about respawning cars - by RatHack - 13.06.2011, 13:06
Re: Question about respawning cars - by Ehab1911 - 14.06.2011, 07:54
Re: Question about respawning cars - by ColdIce - 14.06.2011, 07:57

Forum Jump:


Users browsing this thread: 2 Guest(s)