Advertisement
Guest User

Mjenjanje imena srw-a

a guest
Jun 14th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.97 KB | None | 0 0
  1. public OnFilterScriptInit()
  2. {
  3. SetTimer("hostname",3000,1);
  4. SetTimer("mapname",3000,1);
  5. SetTimer("gamemode",3000,1);
  6. return 1;
  7. }
  8. forward hostname();
  9. public hostname()
  10. {
  11.    new var = random(5);
  12.    switch (var)
  13.    {
  14.      case 0: SendRconCommand("hostname [DZ]Digital Zone RolePlay[dzone-gaming.webs.com]");
  15.      case 1: SendRconCommand("hostname [DZ]Digital Zone RolePlay |0.3z|");
  16.    }
  17. }
  18. forward mapname();
  19. public mapname()
  20. {
  21.    new var = random(5);
  22.    switch (var)
  23.    {
  24.      case 0: SendRconCommand("mapname Los Santos");
  25.      case 1: SendRconCommand("mapname San Fierro");
  26.      case 2: SendRconCommand("mapname Las Venturas");
  27.      case 3: SendRconCommand("mapname Ostrvo");
  28.      case 4: SendRconCommand("mapname Maps by Rake");
  29.    }
  30. }
  31. forward gamemode();
  32. public gamemode()
  33. {
  34.    new var = random(2);
  35.    switch (var)
  36.    {
  37.      case 0: SendRconCommand("gamemodetext ~.:[DZ:RP v1.1]:.~ ");
  38.      case 1: SendRconCommand("gamemodetext Update Odradjen ");
  39.    }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement