18.05.2011, 12:42
Remove " , " in line 41.
^_^
pawn Код:
#include <a_samp>
new Text:ShadowsRandom;
forward RandomMessage();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" RandomMessages by Shadow");
print("--------------------------------------\n");
SetTimer("RandomMessage",3000,2);
ShadowsRandom = TextDrawCreate(18.000000,428.000000,"We are apart of Emerald-Gaming!");
TextDrawAlignment(ShadowsRandom,0);
TextDrawBackgroundColor(ShadowsRandom,0x000000ff);
TextDrawFont(ShadowsRandom,2);
TextDrawLetterSize(ShadowsRandom,0.199999,0.899999);
TextDrawColor(ShadowsRandom,0xffffffff);
TextDrawSetOutline(ShadowsRandom,1);
TextDrawSetProportional(ShadowsRandom,1);
TextDrawSetShadow(ShadowsRandom,1);
return 1;
}
new RandomMessages[][] =
{
"Have you seen a hacker/cheater? use /report [ID] [Reason]",
"If You Disobey The Rules You Will Get Ban To Read The Rules Type /Rules",
"Join To The Server's Forum FreeRoamWorld.Smffy.Com",
"This Server For Fun and Every Thing That You Wan't Will Come!!",
"If You Need Help Type /cmds",
"If You Are admin and you didn't register so your admin level will not save to register type /register [password]",
"If you like this server type /register [password]",
"Have Idea Tell IT in our forum FreeRoamWorld.Smffy.Com",
"The Server Name Changed Into FreeRoam World And The Forum Changed Too",
"The New Forum FreeRoamWorld.Smffy.com"
};
public RandomMessage()
{
TextDrawSetString(ShadowsRandom, RandomMessages[random(sizeof(RandomMessages))]);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, ShadowsRandom);
return 1;
}