Call Car Script
#2

Код:
if(strcmp(cmdtext,"/rcar",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
Call Car Script - by TyThaBomb - 16.06.2011, 08:56
Re: Call Car Script - by Skaizo - 16.06.2011, 08:58
Re: Call Car Script - by TyThaBomb - 16.06.2011, 08:59
Re: Call Car Script - by TyThaBomb - 16.06.2011, 09:02

Forum Jump:


Users browsing this thread: 2 Guest(s)