SA-MP Forums Archive
A Little Problem. - 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: A Little Problem. (/showthread.php?tid=378371)



A Little Problem. - tsonn1 - 17.09.2012

Hi, fellow scripters.
I've got a little problem with compiling my script.
Here's the error and the line:

Error:
Код:
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\RP.pwn(29033) : error 017: undefined symbol "NAIDIKCreated"
The Line:
Код:
				if(NAIDIKCreated[i] == true) { TextDrawDestroy(NAIDIK[i]); }



Re: A Little Problem. - tsonn1 - 17.09.2012

BUMP!


Re: A Little Problem. - Faisal_khan - 17.09.2012

You didn't defined
pawn Код:
NAIDIKCreated
earlier.


Re: A Little Problem. - tsonn1 - 17.09.2012

How do I do that?


Re: A Little Problem. - vIBIENNYx - 17.09.2012

new Text:NAIDIKCreated[MAX_PLAYERS] = false;


Re: A Little Problem. - XtremeR - 17.09.2012

well like this


add this at the top of your Gamemode/Filterscript
pawn Код:
new Text:NAIDIKCreated[MAX_PLAYERS];