Jump to content
  • 0

getgmlevel script HELP


joelolopez

Question


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

im requesting a script that will getgmlevel of killed player.. this script will determine if the player that you killed is gm or not..

help masters!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try

OnPCKillEvent:
	.@aid = getcharid(3);
	attachrid( killedrid );
	.@gm_level = getgmlevel();
	if( .@gm_level ){
		attachrid( .@aid );
		dispbottom "You killed "+.@gm_level+" GM Level character.";
	}
	end;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

sir thanks for the quick reply im going to try this :3

Edited by joelolopez
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...