Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include a_samp
- new timer;
- public OnGameModeInit()
- {
- timer = SetTimer("hostname",10000,1);//Здесь находится время смены имени хостинга(1000 = 1 second)
- return 1;
- }
- public OnGameModeExit()
- {
- KillTimer(timer);
- return 1;
- }
- forward hostname();
- public hostname()
- {
- switch (random(5))
- {
- case 0: SendRconCommand("hostname ваше название![0]");
- case 1: SendRconCommand("hostname ваше название![1]");
- case 2: SendRconCommand("hostname ваше название![2]");
- case 3: SendRconCommand("hostname ваше название![3]");
- case 4: SendRconCommand("hostname ваше название![4]");
- case 5: SendRconCommand("hostname ваше название![5]");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement