Mabuhay Posted January 1, 2013 Posted January 1, 2013 (edited) 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 im a noob scripter so i really need help lol Thanks in advance :3 Edit: If the player killed him self, it will say "You've committed suicide :3" Edited January 1, 2013 by MrVandalBus Quote
ICEROCK Posted January 1, 2013 Posted January 1, 2013 (edited) // 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 January 1, 2013 by Anubis 1 Quote
Question
Mabuhay
So i have my own script here long ago. Lol
I wanna mod it a little bit.
i wanted that part to be like this:
It will display the player who killed you :3
I know its just a noob request but i really dont know lol

im a noob scripter so i really need help lol

Thanks in advance :3
Edit:
If the player killed him self, it will say "You've committed suicide :3"
Edited by MrVandalBus2 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.