Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[G2O v.0.1.2][Server-Side] NPC Manager
#13
Use something like that:

Code:
local botid;

addEventHandler("onPlayerKillNPC", function(kid, bid, ai){
 if(bid == botid){
   setExp(getExp() + 50); //Or other value
 }
});
Reply


Messages In This Thread
RE: [G2O v.0.1.2][Server-Side] NPC Manager - by Jarosllav Degtyariev - 04.12.2017, 17:51

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Server] ORM Quarchodron 3 3,448 08.07.2020, 10:19
Last Post: Quarchodron
  [0.1.3] [server] ItemGroundSpawner HammelGammel 1 4,045 05.02.2020, 18:40
Last Post: demor140202
  [New G2O][Client-Side] bindKey Patrix 6 8,977 14.11.2018, 02:32
Last Post: Patrix
  [New G2O][Shared] Command Handler Patrix 3 6,177 05.09.2018, 15:42
Last Post: Patrix
  [New G2O][Shared] packetListener Patrix 3 6,656 20.06.2018, 18:43
Last Post: Tommy
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 10,259 20.03.2018, 19:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 26,584 08.02.2018, 22:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 5,257 27.01.2018, 14:03
Last Post: HammelGammel
  [New G2O][Client-Side] Key Combination Patrix 1 3,785 23.12.2017, 13:16
Last Post: Patrix
  [G2O v.0.1.0][Client-Side] Notice Board Quarchodron 0 3,142 27.06.2017, 14:28
Last Post: Quarchodron

Forum Jump:


Users browsing this thread: 1 Guest(s)