Same Errors everytime with ANY Script
#1

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

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

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

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.
Reply
#5

worked !! , Thanks , you are awesome dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)