SA-MP Forums Archive
help help - 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 help (/showthread.php?tid=614908)



help help - Rix70 - 14.08.2016

what is wrong with this? C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer\Freeroam & Roleplay v0.1 - Deal closer\gamemodes\FNRv0.1.pwn(24660) : error 017: undefined symbol "color"
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer\Freeroam & Roleplay v0.1 - Deal closer\gamemodes\FNRv0.1.pwn(24661) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


SendClientMessageToAll(color, GetPlayerColor(playerid))
return 1;
}


Re: help help - KevinKush - 14.08.2016

you need a defined color not just using the word color and you have a missing ";" in the end of the line 1
SendClientMessageToAll(put a defined color, GetPlayerColor(playerid));
PHP код:
SendClientMessageToAll(COLOR_WHITEGetPlayerColor(playerid));