Destroy wrong vehicle
#6

Quote:
Originally Posted by haikalbintang
Посмотреть сообщение
You should add this :

PHP код:
public OnPlayerConnect(playerid)
{
   
SpawnedVehicle[playerid] = INVALID_VEHICLE_ID;
}
//also
public OnPlayerDisconnect(playeridreason)
{
 
DestroyVehicle(SpawnedVehicle[playerid]);
 
SpawnedVehicle[playerid] = INVALID_VEHICLE_ID;

I hope that will work.
Not work
Reply


Messages In This Thread
Destroy wrong vehicle - by MRM - 22.01.2017, 16:16
Re: Destroy wrong vehicle - by aymane123 - 22.01.2017, 16:32
Re: Destroy wrong vehicle - by MRM - 23.01.2017, 15:20
Re: Destroy wrong vehicle - by MRM - 31.01.2017, 17:02
Re: Destroy wrong vehicle - by haikalbintang - 31.01.2017, 17:10
Re: Destroy wrong vehicle - by MRM - 01.02.2017, 08:10
Re: Destroy wrong vehicle - by haikalbintang - 01.02.2017, 14:21
Re: Destroy wrong vehicle - by MRM - 03.06.2017, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)