SA-MP Forums Archive
Need help with 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)
+--- Thread: Need help with GetPlayerPos (/showthread.php?tid=430623)



Need help with GetPlayerPos - Kestro - 14.04.2013

I am having a problem with a GetPlayerPos I have, the warning I get is
pawn Code:
warning 213: tag mismatch
And the code is
pawn Code:
GetPlayerPos(playerid, PlayerVar[playerid][hIntX], PlayerVar[playerid][hIntY], PlayerVar[playerid][hIntZ]);
If you can help it would be great, thanks


Re: Need help with GetPlayerPos - Faisal_khan - 14.04.2013

The problem is probably in your array, you are not getting a coordinate.


Re: Need help with GetPlayerPos - Sithis - 14.04.2013

Have you defined your hIntX Y and Z as Float:hIntX ?


Re: Need help with GetPlayerPos - Kestro - 14.04.2013

Quote:
Originally Posted by Sithis
View Post
Have you defined your hIntX Y and Z as Float:hIntX ?
Ah, forgot to, thanks very much


Re: Need help with GetPlayerPos - Sithis - 14.04.2013

Great. Good luck with the rest of your script!