Undefined Symbol error - 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: Undefined Symbol error (
/showthread.php?tid=254337)
Undefined Symbol error -
Respekt - 10.05.2011
Hello , i have problem i got error C:\Users\Jarek\Desktop\Lukasza Files\C-WARS\gamemodes\cwars.pwn(470) : error 017: undefined symbol "string"
Line :
format(string, sizeof(string), "%s (%d) is pausing at moment", pName, clickedplayerid);
P.s i'm new in PAWNO
Re: Undefined Symbol error -
Sasino97 - 10.05.2011
before the format add
You have to declare variables in pawno
Re: Undefined Symbol error -
Cameltoe - 10.05.2011
Quote:
Originally Posted by Respekt
Hello , i have problem i got error C:\Users\Jarek\Desktop\Lukasza Files\C-WARS\gamemodes\cwars.pwn(470) : error 017: undefined symbol "string"
Line :
format(string, sizeof(string), "%s (%d) is pausing at moment", pName, clickedplayerid);
P.s i'm new in PAWNO
|
you forgot to :
pawn Код:
#define STRING_LENGTH (128)
new string[ STRING_LENGTH ];
Edit:
Quote:
Originally Posted by [GF]Sasino97
before the format add
You have to declare variables in pawno
|
256? you need to read ****** optimization thread.
Here :
https://sampforum.blast.hk/showthread.php?tid=57018
Re: Undefined Symbol error -
Respekt - 10.05.2011
Big thanks guys for your help!