Capuche Posted March 3, 2013 Posted March 3, 2013 If your emulator is rA, you can try Bindatcmd (I suggest to learn how to use it, very useful) and check if the player attached is on a pvp map with getmapflag - script stop_die -1,{ OnInit: bindatcmd "die",strnpcinfo(0) +"::OnPCDie"; end; OnPCDie: if( getmapflag( strcharinfo(3),mf_pvp ) && getgmlevel() < 10 ) message strcharinfo(0),"You can't use @die on pvp maps."; else atcommand "@die"; end; } 1 Quote
Question
Lenya
Hi,
how I can disable the command @die in pvp?
1 answer 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.