Automatic unlocking?
#2

pawn Код:
OnPlayerExitVehicle(playerid,vehicleid)
{
SetVehicleParamsForPlayer(vehicleid,playerid,0,0);
return 1;
}

Quote:
Originally Posted by Sa:Mp Wiki
SetVehicleParamsForPlayer


Sets certain properties of a car for a player.


Important note: Disabling the objective works only if the car is respawned after


Parameters:
(vehicleid,playerid,objective,doorslocked)
vehicle ID of the vehicle
playerid ID of the player
objective Show a marker above the car for this player?
doorslocked 0 means open,1 means locked


This function does not return a specific value, it's best to simply ignore it.
http://wiki.sa-mp.com
very usefull just browse abit through it and learn sum stuff^-^
then u wont need to ask so much on here
Reply


Messages In This Thread
Automatic unlocking? - by killdahobo99 - 01.07.2009, 16:11
Re: Automatic unlocking? - by saiberfun - 01.07.2009, 17:11
Re: Automatic unlocking? - by killdahobo99 - 02.07.2009, 04:18
Re: Automatic unlocking? - by saiberfun - 02.07.2009, 10:25
Re: Automatic unlocking? - by refshal - 02.07.2009, 10:28
Re: Automatic unlocking? - by saiberfun - 02.07.2009, 10:30
Re: Automatic unlocking? - by refshal - 02.07.2009, 10:33
Re: Automatic unlocking? - by abhinavdabral - 02.07.2009, 12:48
Re: Automatic unlocking? - by kaisersouse - 02.07.2009, 13:57
Re: Automatic unlocking? - by killdahobo99 - 02.07.2009, 15:48

Forum Jump:


Users browsing this thread: 3 Guest(s)