19.11.2011, 15:21
Code:
#include <a_samp> public OnFilterScriptInit() { SetTimer("Randoms",3000, true); return 1; } forward Randoms(); public Randoms() { switch (random(2)) { case 0: SendRconCommand("hostname _______|-Clan Of Honourable Knights-|_______"); case 1: SendRconCommand("hostname _______|-Professional Clan-|_______"); } switch (random(5)) { case 0: SendRconCommand("mapname China Town!"); case 1: SendRconCommand("mapname India!"); case 2: SendRconCommand("mapname New Verstroia!"); case 3: SendRconCommand("mapname DigiWorld"); case 4: SendRconCommand("mapname EgyPt"); } switch (random(2)) { case 0: SendRconCommand("gamemodetext MYGM"); case 1: SendRconCommand("gamemodetext New GM"); } return 1; }