undefined symbol "X" (2 Errors)
#1

well i have 2 errors like it says on the thread name the first one
1. i made new deathmatch teleports and i get weapons when i teleport to it the problem is i can't switch weapons after that every time i switch the weapon it come back to normal fist damn fast anyone know solution ?

Second error is
Код:
E:\OMar\Teisto\gamemodes\GM.pwn(241) : error 017: undefined symbol "X"
E:\OMar\Teisto\gamemodes\GM.pwn(243) : error 017: undefined symbol "X"
and lines is

241
pawn Код:
GetPlayerPos(playerid,X,Y,Z); //
And line 243 is same that line ^

And btw i tried to make /sync command in order to fix this weapons thing to make it switch make normally

but if u know way to fix first problem second problem not needed and Thanks in Advance
Reply
#2

Show all code.
Reply
#3

Declare it before.

pawn Код:
new
    Float: X,
    Float: Y,
    Float: Z
;
GetPlayerPos( playerid, X, Y, Z );
In case it's been used, change the name to XX, YY, ZZ.
Reply
#4

Oh Konstantinos Thank you very much it works its weird how i take ages to find a solution and u find it in a sec i'll rep u soon as possible
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)