behemothcze Posted August 9, 2020 Posted August 9, 2020 im looking for a script that gives item to a player (with a chance ex. gold coins) who killed it ( MVP Only) then announce to all map. i tried different script lying around but non fits my taste and also not working . Quote
0 Chaos92 Posted August 9, 2020 Posted August 9, 2020 OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP )&& rand(100) > 50 ) { getitem 501,1; dispbottom "You have received item from random drop."; announce ""+strcharinfo(0)+" received item from random drop.",bc_all; end; } Quote
Question
behemothcze
im looking for a script that gives item to a player (with a chance ex. gold coins) who killed it ( MVP Only) then announce to all map.
i tried different script lying around but non fits my taste and also not working .
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.