on foot
#1

meayby a stupid question but how van i look if a player is on foot
cause
pawn Код:
if((IsPlayerInAnyVehicle(playerid,)) == false )
isn't working
Reply
#2

pawn Код:
if(!IsPlayerInAnyVehicle(playerid))
Reply
#3

working thanks
Reply
#4

Or...
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ON_FOOT)
Reply
#5

Or..
if(IsPlayerInAnyVehicle(playerid)
{
// function
}
else
{
// if player aren't in car.
}
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)