on foot - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: on foot (
/showthread.php?tid=191016)
on foot -
sansko - 17.11.2010
meayby a stupid question but how van i look if a player is on foot
cause
pawn Код:
if((IsPlayerInAnyVehicle(playerid,)) == false )
isn't working
Re: on foot -
[MWR]Blood - 17.11.2010
pawn Код:
if(!IsPlayerInAnyVehicle(playerid))
Re: on foot -
sansko - 17.11.2010
working thanks
Re: on foot -
Zimon95 - 17.11.2010
Or...
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ON_FOOT)
Re: on foot -
Gh0sT_ - 17.11.2010
Or..
if(IsPlayerInAnyVehicle(playerid)
{
// function
}
else
{
// if player aren't in car.
}
}