SA-MP Forums Archive
[solved] Getplayerpos - 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: [solved] Getplayerpos (/showthread.php?tid=89599)



[solved] Getplayerpos - Mowgli - 03.08.2009

nvm everyone, it all solved.


Re: [HELP] Getplayerpos - Correlli - 03.08.2009

It's warning, not error.
Is pHouseX/Y/Z defined as float variable?


Re: [HELP] Getplayerpos - iLinx - 03.08.2009

Make sure your enum that your using to define the 3 variables
Код:
#
                    PlayerInfo[playerid][pHouseX] = pX;    //errors
#
                    PlayerInfo[playerid][pHouseY] = pY;   //errors
#
                    PlayerInfo[playerid][pHouseZ] = pZ;
has
Код:
Float:pHouseX
Float:pHouseY
Float:pHouseZ