awesomazingxed Posted December 16, 2014 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 95 Reputation: 1 Joined: 10/24/14 Last Seen: August 7, 2015 Share Posted December 16, 2014 Don't know what's wrong. Can anyone help me with this. - script GMNAmes -1,{ OnPCLoginEvent: if(getgroupid() >= 50 ) end; set .Yourname$,strcharinfo(0); setarray .GmNames$[0],"GM","Admin","Staff","Police","P0lice","AwesomazingRO","AwesomazingR0","Juan"; for( set .x, 0; .x < getarraysize(.GmNames$); set .x, .x +1) if(compare(.Yourname$,.GmNames$[.x])) { mes "Are you trying to be Fake GM?"; mes "You Automatic Kick From Server"; sleep2 3000; atcommand "@kick "+strcharinfo(0); end; } percentheal 100,100; end; } Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Radian Posted December 16, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted December 16, 2014 Try this. as far as I know getgroupid() was changed into getgmlevel() http://rathena.org/board/topic/58877-r15572-new-gm-commands-permissions-system/ - script GMNAmes -1,{ OnPCLoginEvent: if(getgmlevel() >= 50 ) end; set .Yourname$,strcharinfo(0); setarray .GmNames$[0],"GM","Admin","Staff","Police","P0lice","AwesomazingRO","AwesomazingR0","Juan"; for( set .x, 0; .x < getarraysize(.GmNames$); set .x, .x +1) if(compare(.Yourname$,.GmNames$[.x])) { mes "Are you trying to be Fake GM?"; mes "You Automatic Kick From Server"; sleep2 3000; atcommand "@kick "+strcharinfo(0); end; } percentheal 100,100; end; } Quote Link to comment Share on other sites More sharing options...
Luciar Posted December 18, 2014 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 177 Reputation: 21 Joined: 01/31/12 Last Seen: March 8, 2020 Share Posted December 18, 2014 Getgroupid is a separate script command. It returns the actual ID number of the attached player's group. GM level is separate.There is no ( ) mismatch in the script you posted. Are you running an updated revision of rAthena since the group change? (Post Here) Quote Link to comment Share on other sites More sharing options...
15peaces Posted December 26, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 143 Reputation: 8 Joined: 02/11/13 Last Seen: 6 hours ago Share Posted December 26, 2014 (edited) nevermind... Edited December 26, 2014 by 15peaces Quote Link to comment Share on other sites More sharing options...
Question
awesomazingxed
Don't know what's wrong. Can anyone help me with this.
Thank you in advance.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.