SetVehicleParamsForPlayer bug...
#3

Kar, gtfo, you know nothing.

Quote:
Originally Posted by Ben147
I maded a lock command with SetVehicleParamsForPlayer
but i have a little bug with it

after i lock the vehicle the vehicle is locked but i go far away from the vehicle and then i back the vehicle is unlocked i dont know why..
It's because in 0.3a it changes, something about Streaming the vehicle (OnVehicleStreamIn)
I THINK you need to re-add that under OnVehicleStreamIn ..

pawn Code:
if(Locked[carid] == 1)
{
   SetVehicleParamsForPlayer(playerid, 0, 1);
   return 1;
}
or something like that, not sure.

(( this is an example ))
Reply


Messages In This Thread
SetVehicleParamsForPlayer bug... - by Ben147 - 18.06.2010, 01:33
Re: SetVehicleParamsForPlayer bug... - by Kar - 18.06.2010, 01:34
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 01:47
Re: SetVehicleParamsForPlayer bug... - by ihatetn931 - 18.06.2010, 01:47
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 02:28
Re: SetVehicleParamsForPlayer bug... - by Ben147 - 18.06.2010, 20:40
Re: SetVehicleParamsForPlayer bug... - by Mike Garber - 18.06.2010, 20:43
Re: SetVehicleParamsForPlayer bug... - by Conroy - 18.06.2010, 21:03
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 21:04
Re: SetVehicleParamsForPlayer bug... - by Conroy - 18.06.2010, 21:06

Forum Jump:


Users browsing this thread: 2 Guest(s)