SA-MP Forums Archive
[Ajuda] error 017: undefined symbol "X" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] error 017: undefined symbol "X" (/showthread.php?tid=633064)



error 017: undefined symbol "X" - Bieell - 24.04.2017

Bom galera estou com o seguinte erro: "error 017: undefined symbol "X"

Код:
D:\sv\gamemodes\GeC.pwn(264) : error 017: undefined symbol "X"
D:\sv\gamemodes\GeC.pwn(265) : error 017: undefined symbol "X"
linha 264:

Код:
GetVehicleVelocity(GetPlayerVehicleID(i),X,Y,Z);
linha 265:

Код:
SetVehicleVelocity(GetPlayerVehicleID(i),X+(X / HANDLING),Y+(Y / HANDLING),Z+(Z / HANDLING));
Se alguйm puder me ajudar eu fico muito grato =)


Re: error 017: undefined symbol "X" - FullStarS - 24.04.2017

vocк esqueceu de definir as Floats...
coloque assim:

new Float:X, Float:Y, Float:Z;


Re: error 017: undefined symbol "X" - Bieell - 24.04.2017

Quote:
Originally Posted by FullStarS
Посмотреть сообщение
vocк esqueceu de definir as Floats...
coloque assim:

new Float:X, Float:Y, Float:Z;
po cara valeu mesmo ajudou aqui =)


Re: error 017: undefined symbol "X" - FullStarS - 24.04.2017

kkk blz