Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- & &
- & FALCO3205 SCRIPTER &
- & &
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
- #include <a_samp>
- ////color define
- #define COLOR_NORMAL_PLAYER 0xFFBB7777
- ////finish color define
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" AutoMessage By FalCo3205 Scripter");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" AutoMessage By FalCo3205 Scripter");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- SetTimer("RandomMessage", 250 * 200, 1);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- forward RandomMessage();
- public RandomMessage()
- {
- switch(random(8))
- {
- case 0: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text1");
- case 1: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text2");
- case 2: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text3");
- case 3: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text4");
- case 4: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text5");
- case 5: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text6");
- case 6: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text7");
- case 7: SendClientMessageToAll(COLOR_NORMAL_PLAYER, "insert text8");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment