RemovePlayer From Lock Cars
#5

Quote:
Originally Posted by MrLeNy
Hello. I have a problem, because when my car is closed and I wanted to do when a player is getting into the car to give him RemovePlayerFromVehicle (playerid).

This is the code:
Код:
if(newstate == 5 || newstate == 6)
{
if(CarInfo[vehid][cLock])RemovePlayerFromVehicle(playerid);
}
Please Help
That code is fine. Make sure you're setting the appropriate value to the variable when you lock the vehicle. In this case anything above 0.
Reply


Messages In This Thread
RemovePlayer From Lock Cars - by MrLeNy - 15.03.2010, 15:59
Re: RemovePlayer From Lock Cars - by ACERS - 15.03.2010, 16:11
Re: RemovePlayer From Lock Cars - by Robert007 - 15.03.2010, 16:15
Re: RemovePlayer From Lock Cars - by MaykoX - 16.03.2010, 13:30
Re: RemovePlayer From Lock Cars - by Jay_ - 16.03.2010, 14:08
Re: RemovePlayer From Lock Cars - by Steven82 - 17.03.2010, 22:52

Forum Jump:


Users browsing this thread: 4 Guest(s)