Dynamic Object. - Errors.
#1

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
Reply
#2

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)