kito2
www.masteria.net
Hi, I have this query:
This query free all your injustified, but I want to remove a specefied frag, the frag of the player that you killed....
It should add a AND `death_id` = something...
PS: Im using
Maybe you can use getPlayerGUID(target) to search the death_id at player_deaths...
Code:
UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")
This query free all your injustified, but I want to remove a specefied frag, the frag of the player that you killed....
It should add a AND `death_id` = something...
PS: Im using
LUA:
function onKill(cid, target, lastHit)
Maybe you can use getPlayerGUID(target) to search the death_id at player_deaths...