[HELP] system vehicle
#4

no dont work.

When i create a vehicle, it's veh1[playerid] = CreateVehicle(...)

if i made that:

public OnPlayerDisconnect(playerid, reason)
{
DestroyVehicle(veh1[playerid]);
return 1;
}

work's perfectly. But i want in the payday, so for to test i use /test command.


Код:
if(!strcmp(cmd,"/test",true))
 {
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
		  if(!IsPlayerConnected(veh1[i]))
 	 	  {
			DestroyVehicle(veh1[i]);
		  }
		}
 }
dont' work...
Reply


Messages In This Thread
[HELP] system vehicle - by nico005 - 31.05.2010, 23:43
Re: [HELP] system vehicle - by coole210 - 01.06.2010, 01:28
Re: [HELP] system vehicle - by Antonio [G-RP] - 01.06.2010, 01:42
Re: [HELP] system vehicle - by nico005 - 02.06.2010, 02:03
Re: [HELP] system vehicle - by Antonio [G-RP] - 02.06.2010, 02:44
Re: [HELP] system vehicle - by nico005 - 02.06.2010, 03:02
Re: [HELP] system vehicle - by Carlton - 02.06.2010, 03:10
Re: [HELP] system vehicle - by Antonio [G-RP] - 02.06.2010, 03:13
Re: [HELP] system vehicle - by Antonio [G-RP] - 02.06.2010, 03:21

Forum Jump:


Users browsing this thread: 1 Guest(s)