SA-MP Forums Archive
4 Errors. - 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: 4 Errors. (/showthread.php?tid=438121)



4 Errors. - StegooPs - 18.05.2013

Hey pepole,

I am making this script and I am experiencing some problems I got these annoying errors I don't know how to fix so if you can give me a solution that would be great.

The message I am getting for the complier:

Quote:

C:\Users\Anna\Desktop\New folder\gamemodes\PBS_0.3x.pwn(116) : error 017: undefined symbol "H_DATA"
C:\Users\Anna\Desktop\New folder\gamemodes\PBS_0.3x.pwn(116) : error 036: empty statement
C:\Users\Anna\Desktop\New folder\gamemodes\PBS_0.3x.pwn(116) : error 017: undefined symbol "s"
C:\Users\Anna\Desktop\New folder\gamemodes\PBS_0.3x.pwn(116) : fatal error 107: too many error messages on one line

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


4 Errors.

and this is the code line 116:
Код:
for ( new s = 0 ; s < sizeof ( H_DATA ) ; s++ )
It's under the callback "public OnGameModeInit()" here's the full code:
http://pastebin.com/6WyQf4mg

I have marked the area that should matter and is probably wrong.