Advertisement
Emistry

[RO] Check for unreal GM exist.

Jun 9th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. - script gm_check_main -1,{
  2.  
  3. OnInit:
  4. // put all ur GM id here.
  5. setarray .gm_account_id, 2000000;
  6.  
  7. .gm_account_id_size = getarraysize(.gm_account_id);
  8. end;
  9.  
  10. OnPCLoginEvent:
  11. if (getgmlevel() > 0) {
  12. .@aid = getcharid(3);
  13. for (.@i = 0; .@i < .gm_account_id_size; .@i++)
  14. if (.@aid == .gm_account_id[.@i])
  15. end;
  16.  
  17. sleep2 1000;
  18. logmes "[FAKE GM ALERT] " + strcharinfo(0);
  19. atcommand "@kick " + strcharinfo(0);
  20. }
  21. end;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement