Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define COLOR_GREEN 0x33AA33AA
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FilterScripter by Joao_Pareja");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Brasil Two Life");
- print("----------------------------------\n");
- }
- #endif
- forward RandomMsg(); //<----Não mude aqui.
- public OnGameModeInit()
- {
- SetTimer("RandomMsg", 250000, 1);//<---- 25000 não é 25000 Horas, é na verdade, 250 Segundos
- return 1;
- }
- public RandomMsg()
- {
- switch(random(1))//<----Alterar o valor dependendo da quantidade de casos você tem abaixo
- {
- case 1: SendClientMessageToAll(COLOR_GREEN, "[BTL]: » BRASIL TWO LIFE! «");
- }
- }
- //ATENÇÃO: SE VOCÊ DESEJA ADICIONAR MAIS MENSAGENS ALEATÓRIAS, É SÓ COPIAR E MUDAR O NUMERO DA CASE, EXEMPLO ABAIXO:
- // case 7: SendClientMessageToAll(COLOR_GREEN, "[BTL]: » Brasil Two Life «");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement