Hope this works Try. this for the Client And see if it will work.
outputChatBox("War_System|x[Dev-PoinT]x!",root,255,255,0)
function xxx (ammo, killer, killerweapon, bodypart )
if (killer) and (killer ~= source ) then
giveWeapon ( killer, 39, 2, true )
local sound = playSound("sounds/Siren.mp3")
setSoundVolume(sound, 0.5)
outputChatBox(getPlayerName(killer) .." has Now a Special Weapon, watch out!", getRootElement(), 255, 255, 0)
end
end
addEventHandler ("onClientPlayerWasted",getRootElement() , xxx)
function outputWantedLevel ()
local wantedLvl = getPlayerWantedLevel ( )
if wantedLvl == 0 then
outputChatBox ( "You clean", 0, 255, 0)
else
outputChatBox ( "You have "..wantedLvl.." Wanted stars!", 255, 0, 0)
end
end
addEventHandler ( "onClientPlayerWasted", root, outputWantedLevel )