SA-MP Forums Archive
Dynamic Object. - Errors. - 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: Dynamic Object. - Errors. (/showthread.php?tid=415339)



Dynamic Object. - Errors. - faff - 12.02.2013

hello, i'm scripting an ingame maptool.
i had a problem earlier with it.
but solved it.
now i got an another problem.

so.. ehm. I'm reqeusting there Pos & rot's.

Код:
	GetDynamicObjectPos(GateInfo[idx][oObj], oPos[playerid][0], oPos[playerid][1], oPos[playerid][2]);
	GetDynamicObjectRot(GateInfo[idx][oObj], oRot[playerid][0], oRot[playerid][1], oRot[playerid][2]);
but as you see, nothing whron with it, right?

And this are the errors pawno showing.
Код:
C:\Users\Fabio\Desktop\LSC-RP\gamemodes\ZRP.pwn(13294) : warning 213: tag mismatch
C:\Users\Fabio\Desktop\LSC-RP\gamemodes\ZRP.pwn(13295) : warning 213: tag mismatch



Re: Dynamic Object. - Errors. - Shabi RoxX - 12.02.2013

You possibly created oPos[][] & oRot[][] a integer , try making it float

pawn Код:
new Float:oPos[MAX_PLAYERS][3],
      Float:oRot[MAX_PLAYERS][3];



Re: Dynamic Object. - Errors. - faff - 12.02.2013

Already did that in top of the script.
Код:
new Float:oPos[MAX_PLAYERS][3];
new Float:oRot[MAX_PLAYERS][3];