function player_Wasted (ammo, killer, weapon)
if not killer or killer == source then
outputChatBox(getPlayerName(source).." Se Ha Suicidado!")
else
outputChatBox(getPlayerName(killer).." Le partio el culo a "..getPlayerName(source).." con una ("..getWeaponNameFromID(weapon)..")")
end
end
addEventHandler("onPlayerWasted", getRootElement(), player_Wasted)
Este funciona bien como yo quiero pero hay un problema que los nombres de los jugadores que no salen a color ¿Que más se puede hacer?
Este sale en color Verde cambile los valores donde termina el chatBox y hay acamodas los colores
function player_Wasted (ammo, killer, weapon)
if not killer or killer == source then
outputChatBox(getPlayerName(source).." Se Ha Suicidado!",source,0,255,0,true)
else
outputChatBox(getPlayerName(killer).." Le partio el culo a "..getPlayerName(source).." con una ("..getWeaponNameFromID(weapon)..")",source,0,255,0,true)
end
end
addEventHandler("onPlayerWasted", getRootElement(), player_Wasted)
lo del suicidio sale bien pero ahora nisiquiera aparece el mensaje Galaz le ha partido del culo a diego