You are using PI correct?
|
Hi!
I got this working once today, but failed it then.
Now I can't fix it anymore, so I am asking you for help.
I am trying to make it so you get reward for killing NPC.
All seems to be right, but I don't still get the reward.
I am pretty sure the problem is on this code below.
If you know how "Client c =" should really end, please tell it me ASAP, so I'll rep++ you.Code:if (npcs[i].isDead == true) { // ..blab.. ..blab.. Client c = (Client)Server.playerHandler.players[npcs[i].killedBy]; if(c != null) { // ..blab.. ..blab.. } }
Thanks.
You are using PI correct?
I would like to think this is your problem, try removing that and it should work.Code:..blab.. ..blab..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |