SA-MP Forums Archive
Undefined symbol - 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: Undefined symbol (/showthread.php?tid=170849)



Undefined symbol - Hobod - 24.08.2010

Um apparently "IsPlayerOnFoot" isn't defined?
i have a_samp included or is "IsPlayerOnFoot" in another include?


Re: Undefined symbol - Mauzen - 24.08.2010

IsPlayerOnFoot is an uf.inc function. This is not included with the normal server download, you have to download it. (https://sampwiki.blast.hk/wiki/Useful_Functions)

You can also use (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) instead, if you do not want to use that include.