Jump to content
  • 0
Sign in to follow this  
thebadman

Game point reward system

Question

Hi guys, I was wondering if anyone could help me add a game point reward system to my server, which can be obtained by skilling and killing npcs, also being able to use these gamepoints for rewards such as morexp and betterdrops etc which can be used by commands like ;;morexp ;;betterdrops?

Help would be much appreciated.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
[quote name='thebadman']Hi guys, I was wondering if anyone could help me add a game point reward system to my server, which can be obtained by skilling and killing npcs, also being able to use these gamepoints for rewards such as morexp and betterdrops etc which can be used by commands like ;;morexp ;;betterdrops?

Help would be much appreciated.[/QUOTE]

Add this in npc handler or whatever its called in a 718

[code] if (getId() == 6260) {
killer.getReal += 1; // gives points
killer.getReal -= 1;// takes points away
}[/code]

Change the 6260 to whatever npc you want to give points.. btw you have to add the playersaving stuff and all that yourself :?

Share this post


Link to post
Share on other sites
  • 0
I have added the point system for killing npcs, does someone know how I can use these and make a command for ;;bankdrops, ;;morexp, ;;betterdrops?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×