[HELP] Respawn Empty Cars ONLY
#3

Quote:
Originally Posted by Camacorn
Посмотреть сообщение
Hello, can someone help me make this command respawn ONLY empty cars instead of all? thanks.

Код:
	command(vehrespawn, playerid, params[])
	{
		#pragma unused params
		if( Player[playerid][AdminLevel] >= 5)
		{
			for(new i = 0; i < MAX_VEHICLES; i++)
			{
				if(Vehicles[i][GameID] >= 1)
				{
					SetVehicleToRespawn(Vehicles[i][GameID]);
				}
			}

			SendClientMessage( playerid, WHITE, "All saved vehicles have been respawned." );
		}
		return 1;
	}
Honestly, I have answered many of this topics yet. Search and you will find...
Reply


Messages In This Thread
[HELP] Respawn Empty Cars ONLY - by Camacorn - 06.11.2010, 18:37
Re: [HELP] Respawn Empty Cars ONLY - by RyDeR` - 06.11.2010, 18:42
Re: [HELP] Respawn Empty Cars ONLY - by DeathOnaStick - 06.11.2010, 18:43
Re: [HELP] Respawn Empty Cars ONLY - by Camacorn - 06.11.2010, 19:03
Re: [HELP] Respawn Empty Cars ONLY - by DeathOnaStick - 06.11.2010, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)