BrooklyN# Posted September 15, 2012 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
BorderLine Posted September 15, 2012 Posted September 15, 2012 you should make another with dxDrawText Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
BrooklyN# Posted September 15, 2012 Author Posted September 15, 2012 I'm beginner, help me make this function?
Flaker Posted September 15, 2012 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
Anderl Posted September 15, 2012 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. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
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