SA-MP Forums Archive
Help Please - 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: Help Please (/showthread.php?tid=401081)



Help Please - DJTunes - 21.12.2012

So I'm trying to get Random Messages in my Game-Mode.
I have 1 error which says:
Код:
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(554) : warning 217: loose indentation
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(609) : warning 217: loose indentation
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(665) : error 017: undefined symbol "COLOR_RED"
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(802) : warning 203: symbol is never used: "SetPlayerTeamFromClass"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Screenshot of the line:
http://prntscr.com/mtljo

Can anyone please tell me what I did wrong?


Re: Help Please - Patrick - 21.12.2012

if you dont understand my explanation post the source code please.. i will do it for you

pawn Код:
Bottom of #include <a_samp>
#pragma tabsize 0

put this where you define your colors
#define COLOR_RED 0xFF0000AA

then Ctrl + G then type the line 802
when you already see's that line comment it

so it will be like this //SetPlayerTeamFromClass



Re: Help Please - DJTunes - 21.12.2012

Nevermind, I've fixed the error.