Problem saving coords - 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: Problem saving coords (
/showthread.php?tid=92266)
Problem saving coords -
Dj_maryo1993 - 19.08.2009
I have
pawn Код:
new posxxx[MAX_PLAYERS];
new posyyy[MAX_PLAYERS];
new poszzz[MAX_PLAYERS];
pawn Код:
new Float:ax,Float:ay,Float:az; //line 1
GetPlayerPos(playerid,ax,ay,az); //line 2
posxxx[playerid] = ax; //line 3
posyyy[playerid] = ay; //line 4
poszzz[playerid] = az; //line 5
And i get the errors
Код:
warning 213: tag mismatch // line 3
warning 213: tag mismatch //line 4
warning 213: tag mismatch //line 5
Help Please
Re: Problem saving coords -
bogeymanEST - 19.08.2009
Your variables should be defined like this:
pawn Код:
new Float:posxxx[MAX_PLAYERS];
new Float:posyyy[MAX_PLAYERS];
new Float:poszzz[MAX_PLAYERS];
Re: Problem saving coords -
Dj_maryo1993 - 19.08.2009
Thnx , it works fine