What is wrong with that line? - 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: What is wrong with that line? (
/showthread.php?tid=275731)
What is wrong with that line? -
vent - 10.08.2011
PHP код:
SendClientMessageToAll(COLOR_LIGHTBLUE, "Admin %s: %s"(GetPName(playerid), params);
This line will give me this:
Код:
C:\Users\Tuumajaam\Desktop\Rдndom shit (vb porn)\samp\korralik server mille ьritan lхpuni teha\filterscripts\ace2.pwn(347) : error 001: expected token: "-string end-", but found "-identifier-"
Re: What is wrong with that line? -
Sascha - 10.08.2011
pawn Код:
new string[100];
format(string, 100, "Admin %s: %s", GetPName(playerid), params);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
Re: What is wrong with that line? -
vent - 10.08.2011
Thanks for so fast answer. And ofcourse for the code too. ;>