function kill (attacker, fist, bodypart, loss)
local weapon = getPedWeapon(attacker)
if weapon == 0 then
elseif bodypart then
local result = triggerEvent("onPlayerFistshot", source, attacker, fist, loss)
if result == true then
killPed(source, attacker, 0, 3)
end
end
end
addEvent ("onPlayerFistshot", true)
addEventHandler("onPlayerDamage", root, kill)
Still untested
function kill (attacker, fist, bodypart, loss)
local weapon = getPedWeapon(attacker)
if weapon = 0
elseif bodypart then
local result = triggerEvent("onPlayerFistshot", source, attacker, fist, loss)
if result == true then
killPed(source, attacker, 0, 3)
end
end
end
addEvent ("onPlayerFistshot", true)
addEventHandler("onPlayerDamage", root, kill)
Untested yet, check it out
What's ur gamemode and no scripter will script for free as they're busy in their own projects
even if he's not busy, he won't script for a "Scripter" Rank
Lolz, just wondering what the hell you guys talking about?
On topic: Looks good, lots of people will hack for a VIP sys but you kinda saved a lot of pepz there keep it up +1