SA-MP Forums Archive
Random Messages - 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: Random Messages (/showthread.php?tid=617911)



Random Messages - Gotham - 28.09.2016

Hi guys,

I created a random message string and also required Timers etc.
I get these errors:
Код:
C:\Users\gouth_000\Desktop\Server SAMP\filterscripts\GAdmin1.0.pwn(36) : error 001: expected token: "}", but found "-string-"
C:\Users\gouth_000\Desktop\Server SAMP\filterscripts\GAdmin1.0.pwn(38) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Lines
PHP код:
new RandomMSG[][] =
{
    
"Visit our website at ______"
    "Use /help to get help"
    "You can use /ask to ask online Administrators something!"
}; 
Please help!I don't know about this very much , You can see it here: Random Messages


Re: Random Messages - Konstantinos - 28.09.2016

You forgot comma at the end of the first and second message.


Re: Random Messages - Gotham - 28.09.2016

Thank you so much!As I said I'm beginner at this(Only this RandomMsg)


Re: Random Messages - CannonBolt - 28.09.2016

https://sampwiki.blast.hk/wiki/Random_Messages