BrooklyN# Posted September 15, 2012 Share Posted September 15, 2012 showMessage(getPlayerName(activePlayers[1]) .. ' Won this map!', 255, 255, 255) getPlayerName <-- How to make this returns with the colors of the player's nickname? Thanks Link to comment
BorderLine Posted September 15, 2012 Share Posted September 15, 2012 you should make another with dxDrawText Link to comment
BrooklyN# Posted September 15, 2012 Author Share Posted September 15, 2012 I'm beginner, help me make this function? Link to comment
Flaker Posted September 15, 2012 Share Posted September 15, 2012 As example: local w, h = guiGetScreenSize ( ) addEventHandler("onClientRender",root, function() dxDrawText ( getPlayerName(localPlayer), 500, 500, w, h, tocolor ( 255, 0, 0, 255 ), 1, "default") end ) advise you to read wiki https://wiki.multitheftauto.com/wiki/DxDrawText Link to comment
Anderl Posted September 15, 2012 Share Posted September 15, 2012 showMessage(getPlayerName(activePlayers[1]) .. ' Won this map!', 255, 255, 255)getPlayerName <-- How to make this returns with the colors of the player's nickname? Thanks You have to edit the modified getPlayerName function. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now