How to lock car?
#3

try this out, should be ready to go
Код:
public OnPlayerConnect(playerid)
{
        SetVehicleParamsForPlayer( missioncar, playerid, 0, 1);
	return 1;
}
this way it will be locked for everyone, but in the beginning of the mission put:
Код:
SetVehicleParamsForPlayer(missioncar, playerid, 0, 0)
so to unlock it, and at the end of the mission just relock it again for that player
Reply


Messages In This Thread
How to lock car? - by AgentZero - 11.07.2011, 06:07
Re: How to lock car? - by [MG]Dimi - 11.07.2011, 06:57
Re: How to lock car? - by dowster - 11.07.2011, 07:05
Re: How to lock car? - by AgentZero - 11.07.2011, 07:46
Re: How to lock car? - by dowster - 11.07.2011, 07:56
Re: How to lock car? - by AgentZero - 11.07.2011, 08:13
Re: How to lock car? - by dowster - 11.07.2011, 08:19
Re: How to lock car? - by AgentZero - 11.07.2011, 08:20
Re: How to lock car? - by dowster - 11.07.2011, 08:24
Re: How to lock car? - by AgentZero - 11.07.2011, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)