Jump to content

Coded Script!


Klesh

Recommended Posts

Hello community i try to show the kill message, but the color look on white i try to make some code and combonations, i mean show the name with the hexadecimal code, and if i can change the font how i can change it, thanks for any help!

addEvent("onZombieWasted") 
addEventHandler( "onZombieWasted", getRootElement(), 
function (killer) 
killerName = getPlayerName(killer) 
weapon = getPedWeapon(killer) 
wr, wg, wb = getPlayerNametagColor(killer) 
exports.killmessages:outputMessage ( {killerName,{"padding",width=3},{"icon",id=weapon or 0},{"padding",width=3},{"color",r=240,g=0,b=0},"Zombie"},getRootElement(),wr,wg,wb ) 
end) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...