SA-MP Forums Archive
Trouble with GameModeInit - 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: Trouble with GameModeInit (/showthread.php?tid=75465)



Trouble with GameModeInit - mini-d - 02.05.2009

ive been having some errors with GameModeinit Heres the GM

http://deathgod.pastebin.com/m5d5bbaad


Heres Errors
Код:
D:\Dean's Documents\Sa-mp $$$\PLG-RP.pwn(17) : error 021: symbol already defined: "AddPlayerClass"
D:\Dean's Documents\Sa-mp $$$\PLG-RP.pwn(51) : error 010: invalid function or declaration
D:\Dean's Documents\Sa-mp $$$\PLG-RP.pwn(117) : error 017: undefined symbol "COLOR_YELLOW"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
I know the color Yellow Problem So dont need to say dat


Re: Trouble with GameModeInit - Danut - 02.05.2009

pawn Код:
public OnGameModeInit()
 
    // Don't use these lines if it's a filterscript
    SetGameModeText("TEST RPG");
    AddPlayerClass(174,1543.2524,-1675.6240,13.5561,84.9173,0,0,0,0,0,0); //
    // etc
Must be

pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("TEST RPG");
    AddPlayerClass(174,1543.2524,-1675.6240,13.5561,84.9173,0,0,0,0,0,0); //
    // etc



Re: Trouble with GameModeInit - mini-d - 02.05.2009

same error


Re: Trouble with GameModeInit - GanG$Ta - 02.05.2009

http://pastebin.ca/1410204