SA-MP Forums Archive
Same Errors everytime with ANY Script - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Same Errors everytime with ANY Script (/showthread.php?tid=265744)



Same Errors everytime with ANY Script - Mr.Black - 02.07.2011

Any Script i try to Complie , I mean ANY , if i download from SAmp.com or anywhere


This happen :


Quote:

D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18305) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18305) : error 033: array must be indexed (variable "cmd")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18441) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18441) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18609) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18609) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18617) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18617) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18624) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18624) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18663) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18663) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18681) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18681) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18689) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18689) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18745) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18745) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18774) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18774) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18782) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18782) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18789) : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(18789) : error 033: array must be indexed (variable "tmp")
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(1879 : error 017: undefined symbol "strtok"
D:\samp03csvr_R2-2_win32\gamemodes\lslrp.pwn(1879 : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Any solutions ?


Re: Same Errors everytime with ANY Script - alpha500delta - 02.07.2011

We can't solve it without you showing the code -_-


Re: Same Errors everytime with ANY Script - Mr.Black - 02.07.2011

lol that happen with every script man , i download Lighting RPG and tried to Complie it , that happened , downloaded LSLRP , same happened..


Re: Same Errors everytime with ANY Script - Calgon - 02.07.2011

You need to use the Pawno package provided with the gamemode you try to compile. You need to open Pawno through the Pawno folder, instead of just double clicking the .pwn file.

This happens because another copy of Pawno is saved on your computer which reserved the .pwn file format, so every single time you open it, it'll open it with that copy of Pawno.

Most packages have special includes made by the authors of the gamemode you're using, not every gamemode uses the same includes, and strtok is a custom function.


Re: Same Errors everytime with ANY Script - Mr.Black - 02.07.2011

worked !! , Thanks , you are awesome dude