MrXz Posted April 1, 2012 Posted April 1, 2012 Hi All I could help with something please. is there any way for the script out in bold-type? dxDrawColorText ('#00A2FFMap: #FFFFFF' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(1.1, 'bankgothic')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.3, 'bankgothic', 0.6, 'left') and auto-set map, to automatically exit the nextmaps racevoting_server: line 525 addCommandHandler('nextmap', function( player, command, ... ) local query = #{...}>0 and table.concat({...},' ') or nil if not query then if g_ForcedNextMap then outputRace( 'Next map is ' .. getMapName( g_ForcedNextMap ), player ) else outputRace( 'Next map is not set', player ) end return end if not _TESTING and not isPlayerInACLGroup(player, g_GameOptions.admingroup) then return end local map, errormsg = findMap( query ) if not map then outputRace( errormsg, player ) return end if g_ForcedNextMap == map then outputRace( 'Next map is already set to ' .. getMapName( g_ForcedNextMap ), player ) return end g_ForcedNextMap = map outputChatBox('*#FF9900Nextmap: #FF0000Next map set to#FFFFFF ' .. getMapName( g_ForcedNextMap ) .. ' #FF9900by#FFFFFF ' .. _getPlayerName(player), getRootElement(), 255, 255, 255, true) triggerClientEvent("setNextMap", getRootElement(), getMapName(g_ForcedNextMap)) end ) End of File: addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function() triggerClientEvent("setNextNil", getRootElement()) end) Please Help !
Castillo Posted April 1, 2012 Posted April 1, 2012 You want to change the text to font "default-bold"? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MrXz Posted April 1, 2012 Author Posted April 1, 2012 (edited) You want to change the text to font "default-bold"? Yes, to make it look better with blod-type.. What is the code? Edited April 1, 2012 by Guest
Castillo Posted April 1, 2012 Posted April 1, 2012 Just change: "bankgothic" to: "default-bold" dxDrawColorText ('#00A2FFMap: #FFFFFF' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(1.1, 'default-bold')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.3, 'default-bold', 0.6, 'left') San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted April 1, 2012 Posted April 1, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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