Advertisement
Guest User

Hostname Changer / Kazma SAMP

a guest
May 27th, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. //==========================================//
  2. //=HostName Changer by Kazma / pro pawno.cz=//
  3. //==========================================//
  4.  
  5.  
  6. #include <a_samp>
  7.  
  8.  
  9. forward hostname();
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. SetTimer("hostname",1000,1); // Čas měnění názvu. 1000 = 1 sekunda (Není to přesné)
  14. return 1;
  15. }
  16.  
  17.  
  18. public hostname()
  19. {
  20. new var = random(5);
  21. switch (var)
  22. {
  23. case 0: SendRconCommand("hostname [CZ/SK]Example / Example"); // Zde si zadejte název serveru
  24. case 1: SendRconCommand("hostname [CZ/SK]Example / Example"); // Zde si zadejte název serveru
  25. case 2: SendRconCommand("hostname [CZ/SK]Example / Example"); // Zde si zadejte název serveru
  26. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement