SA-MP Forums Archive
Undefined symbol - 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: Undefined symbol (/showthread.php?tid=649543)



Undefined symbol - enzulikeS - 10.02.2018

Erorrs:

D:\server\gamemodes\ExtremeGame.pwn(16209) : error 017: undefined symbol "playerid"
D:\server\gamemodes\ExtremeGame.pwn(16210) : error 017: undefined symbol "playerid"
D:\server\gamemodes\ExtremeGame.pwn(16211) : error 017: undefined symbol "playerid"


Lines:

SetPlayerPosEx(playerid, 1742.9814,-1863.0938,16.204;
InterpolateCameraPos(playerid, 1804.1313,-1732.0179,21.7294, 1037.3715,-1732.7358,25.2859, 30000, CAMERA_MOVE);
InterpolateCameraLookAt(playerid,1441.6654,-1732.0317,18.0373,1037.3715,-1732.7358,25.2859, 30000, CAMERA_MOVE);


Re: Undefined symbol - rfr - 10.02.2018

this is in a timer then you need to use settimerex


Re: Undefined symbol - Mugala - 10.02.2018

Quote:
Originally Posted by rfr
Посмотреть сообщение
this is in a timer then you need to use settimerex
how did u know? he doesnt even provided a code.
so please show us a code.


Re: Undefined symbol - enzulikeS - 10.02.2018

solved, changed playerid to i


Re: Undefined symbol - Mugala - 10.02.2018

Quote:
Originally Posted by enzulikeS
Посмотреть сообщение
solved, changed playerid to i
next time, provide a full code if u want to get a help.