Help me plz! - 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: Help me plz! (
/showthread.php?tid=229173)
Help me plz! -
Ironboy - 21.02.2011
hello!
I have problem in my script file.
This is the problem..
pawn Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(4845) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
plz help me to fix it
Re: Help me plz! -
cessil - 21.02.2011
you have strtok and isNumeric defined twice, and you need to have a forward OnPlayerPrivmsg(blasdkas);
Re: Help me plz! -
Ironboy - 21.02.2011
wat you mean ?what i should do?
Re: Help me plz! -
Ironboy - 21.02.2011
plz anyone help meeeeeeeeeeee
Re: Help me plz! -
captainjohn - 21.02.2011
Press ctrl + f and search for define strtok and isnumeric and how many of each do you have?
Re: Help me plz! -
BlackWolf120 - 21.02.2011
you also have to check if u already have an include (.inc file) that defines this functions.
Re: Help me plz! -
Ironboy - 21.02.2011
I have this only
pawn Код:
#include "../include/gl_common.inc"
Re: Help me plz! -
BlackWolf120 - 21.02.2011
in your given include the 2 functions are defined via stock functions.
You have to remove the defining from your actual filterscript to solve the problem cause its defined twice. (in the inc. file and your script.)
Re: Help me plz! -
Ironboy - 21.02.2011
pawn Код:
#include <a_samp>
#include <core>
#include <dini>
#include <lethaldudb2>
#include <streamer>
#include <float>
#include <dutils>
#include "../include/gl_common.inc"
these are the includes which i have and what i should do to fix it?
If i remove
pawn Код:
#include "../include/gl_common.inc"
then it will show like this.
pawn Код:
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1188) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1189) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1192) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1193) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1194) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1197) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1198) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1199) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1202) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1203) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1204) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1205) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1208) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1209) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1210) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1211) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Documents and Settings\Ironboy\Desktop\Windows server\gamemodes\Paradise_City.pwn(1212) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
17 Errors.
Re: Help me plz! -
Ironboy - 21.02.2011
Yes it works
![Cheesy](images/smilies/biggrin.png)
ty all