05.04.2013, 15:09
Hello
I have good random message script (paste In New Scrpit)
I have good random message script (paste In New Scrpit)
Code:
#include <a_samp> #define TIMER 150000 #define COLOR_GOLD 0xF6C861AA new rMessageList[][] = { "[SERVER]Welcome To Awesome Stuntages Server", "[SERVER]Add To List IP : 37.205.9.140:7788", "[SERVER]Have Fun !", "[SERVER]Killing Allowed !", "[SERVER]Created & Hosted By: Strike_hero." }; new rCheckList[sizeof(rMessageList)]; forward rMessage(); public rMessage() { new rNumber, Check = 0; do{ for(new i=0; i<sizeof(rCheckList); i++) if(rCheckList[i] != 0) Check++; if(Check == sizeof(rCheckList)) for(new i=0; i<sizeof(rCheckList); i++) rCheckList[i] = 0; rNumber = random(sizeof(rMessageList)); }while(rCheckList[rNumber]); SendClientMessageToAll(COLOR_GOLD, rMessageList[rNumber]); rCheckList[rNumber] = 1; } public OnFilterScriptInit() { SetTimer("rMessage", TIMER, true); }