Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- forward ChangeHostname();
- public OnFilterScriptInit()
- {
- SetTimer("ChangeHostname",5000,true);
- return true;
- }
- public ChangeHostname()
- {
- new hostname=random(3);
- switch(hostname)
- {
- case 0: SendRconCommand("hostname 1");
- case 1: SendRconCommand("hostname 2");
- case 2: SendRconCommand("hostname 3");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment