Faction Vehicles, need help.
#4

Or Timer,rs.
pawn Код:
if(GetPlayerState(playerid) == 2)
{
 //Your Code Here
}
Look the Wiki SAMP

States how:

Often used

0 Empty (while initializing) - "PLAYER_STATE_NONE"
1 Player is on foot - "PLAYER_STATE_ONFOOT"
2 Player is driver of a vehicle - "PLAYER_STATE_DRIVER"
3 Player is passenger of a vehicle - "PLAYER_STATE_PASSENGER"
7 Player is wasted or on class selection - "PLAYER_STATE_WASTED"
8 Player is spawned - "PLAYER_STATE_SPAWNED"
9 Player is spectating - "PLAYER_STATE_SPECTATING"

Used internally

4 Player exits a vehicle
5 Player enters a vehicle as driver
6 Player enters a vehicle as passenger
Reply


Messages In This Thread
Faction Vehicles, need help. - by oliverrud - 05.07.2010, 20:10
Re: Faction Vehicles, need help. - by TKZ227 - 05.07.2010, 22:19
Re: Faction Vehicles, need help. - by oliverrud - 05.07.2010, 23:03
Re: Faction Vehicles, need help. - by ipsBruno - 05.07.2010, 23:14
Re: Faction Vehicles, need help. - by oliverrud - 05.07.2010, 23:31
Re: Faction Vehicles, need help. - by DJDhan - 05.07.2010, 23:52
Re: Faction Vehicles, need help. - by oliverrud - 06.07.2010, 11:25

Forum Jump:


Users browsing this thread: 1 Guest(s)