Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Quick Pvp On Kill Script Made By Sinistah/ToxicDev (NOT TESTED)
- enum item
- {
- TOKEN = 11111, // Entry Id Of The Item Defined Here
- AMMOUNT = 1, // Ammount Of The TOKEN's Given
- };
- class itemonkill : public PlayerScript
- {
- public:
- itemonkill() : PlayerScript("itemonkill") { }
- void OnPVPKill(Player * killer, Player * victim)
- {
- killer->AddItem(TOKEN, AMMOUNT);
- }
- };
- void AddSC_itemonkill()
- {
- new itemonkill;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement