Can't fix - 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: Can't fix (
/showthread.php?tid=615783)
Can't fix -
Micko123 - 27.08.2016
PHP код:
#define S_SRVBOJA "{008000}"
#define S_BJELA "{FFFFFF}"
Those are colors defines
PHP код:
new string[100];
format(string, sizeof(string), ""S_SRVBOJA, "Info: "S_BIJELA"Uspjesno ste postavili nove ime servera (%s).", inputtext);
SCM(playerid, -1, string);
Those are lines
Код:
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : error 017: undefined symbol "S_BIJELA"
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : warning 215: expression has no effect
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : warning 215: expression has no effect
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : error 001: expected token: ";", but found ")"
C:\Users\Micko\Desktop\BaySide\gamemodes\BS.pwn(1885) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Those are errors
Re: Can't fix -
Micko123 - 27.08.2016
Fixed. Instead of
S_BJELA
i typed
S_BIJELA