Jump to content
  • 0

A little mod :)


Mabuhay

Question


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

So i have my own script here long ago. Lol

-	script	cool	-1,{
OnPCDieEvent:
dispbottom "OMG! you got PAWN! Ressurect and PAWN him back!";
close;
end;

if(getgmlevel() < 10) {
OnPCLoginEvent:
mes "^ff0000[Welcome]^000000";
mes "Hello ^ff0000"+strcharinfo(0)+"^000000,";
close;
}
end;
}

I wanna mod it a little bit.

dispbottom "OMG! you got PAWN! Ressurect and PAWN him back!";

i wanted that part to be like this:

dispbottom "OMG! (THE KILLER) killed you! Ressurect and PAWN him back!";

It will display the player who killed you :3

I know its just a noob request but i really dont know lol /oops/hum

im a noob scripter so i really need help lol /oops/ok

Thanks in advance :3

Edit:

If the player killed him self, it will say "You've committed suicide :3"

Edited by MrVandalBus
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  228
  • Reputation:   33
  • Joined:  11/15/12
  • Last Seen:  

// Kindly VOTE UP my post if I helped.
// Edit By: Anubis
// Script By: MrVandalBus
- script Cool_Mod -1,{
OnPCDieEvent:
set .@killer$,rid2name(killerrid);
if (.@killer$ == strcharinfo(0))  {
dispbottom "You've commited suicide."; end;
} else {
dispbottom "OMG! " + .@killer$ + " killed you! Ressurect and PAWN him back!"; end; }
OnPCLoginEvent:
if(getgmlevel() == 0) {
mes "^ff0000[Welcome]^000000";
mes "Hello ^ff0000"+strcharinfo(0)+"^000000,";
close; }
}

Edited by Anubis
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

+1 /no1

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...