Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- =================================================
- Created By Shadow - Do not Remove these or any other credits.
- ================================================
- */
- #include <a_samp>
- new Text:ShadowsRandom;
- forward RandomMessage();
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" RandomMessages by Shadow");
- print("--------------------------------------\n");
- SetTimer("RandomMessage",3000,1);
- 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? /report [ID] [Reason]",
- "Only Noobs Rule break! Are you a noob?",
- "Did you know we have forums? register today!",
- "Did you know that we are apart of a gaming community? www.emerald-gaming.co.uk"
- };
- public RandomMessage()
- {
- TextDrawSetString(ShadowsRandom, RandomMessages[random(sizeof(RandomMessages))]);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawShowForPlayer(playerid, ShadowsRandom);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement