Need Help in my new system "lua"

07/09/2016 08:58 omaromar1#1
hi guys ,
plz i need some help in my new system
i want to do a script in the death match
-- want script can do this

if player kill another player <--------
do this()

how can i make script see if player kill another player ?
07/09/2016 14:40 SilentWisdom#2
There are only certain lua triggers and I don't believe that the game triggers a lua based on a PVP kill. Perhaps in arena, but not in the open world. Next time use help thread bruh.
07/10/2016 21:10 warzned#3
you can use script on_player_dead.lua

but you must make specific related value for the dead player like if he has item in his bag or have buff or his name has value in global variable or the dead player is in specific area according to x , y.... but the script will applied on the dead player not the killer so you can make a drop_item() script