Please help
#1

I was making a random messages script but i got some warnings:
Код:
C:\Users\Mouiz\Desktop\Updating\freeroam.pwn(537) : warning 235: public function lacks forward declaration (symbol "RandomMessage")
C:\Users\Mouiz\Desktop\Updating\freeroam.pwn(539) : warning 213: tag mismatch
Script:
Код:
enum ServerData
{
     Announce,
};
////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////
new Text:Announcements;

new RandomMessages[][] =
{
	"~w~Currently Updated To ~a~FR - FreeRoam Build 3 (0.3.7)",
	"~w~Want to get more features?~g~Donate To Become VIP At ~w~forum-mfe.webatu.com",
	"Join our community forum,stay updated. ~w~ Visit forum-mfe.webatu.com"
};

////////////////////////////////////////////////////////////////////////////////

public RandomMessage()
{
	if(ServerInfo[Announce] == 1)
 	TextDrawSetString(Announcements, RandomMessages[random(sizeof(RandomMessages))]);
 	return 1;
}
////////////////////////////////////////////////////////////////////////////////
Reply


Messages In This Thread
Please help - by MouizGhouri - 28.05.2015, 16:15
Re: Please help - by Azula - 28.05.2015, 16:18
Re: Please help - by MotherDucker - 28.05.2015, 16:19
Re: Please help - by MouizGhouri - 28.05.2015, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)