to change th color of the text basic lua
I have a question, I just dont know where to add this as it is a native do I add a resource, or what do I do?
Kind of a noob question but where do i add this line so i can have this work for my server
How would I remove the money and bank from the pause menu
i have mine set up like yours, any idea why it has a proximity on it? like the online players
It will only show how many people are near you
OneSync only loads the players near you, and if it’s done client-side that would be why it only shows the people near you
you can try scaleforms “SET_HEADING_DETAILS”
anychance you can share you script for this ^
Any way to remove the ped shot on the right?
I’ve done some configuration and have found a setup which works really well for me. I’ll leave a screenshot and the code below!
function AddTextEntry(key, value)
Citizen.InvokeNative(GetHashKey("ADD_TEXT_ENTRY"), key, value)
end
local config = {
-- Left Menu Config
["TITLE"] = "Heading One",
["SUBTITLE"] = "Heading Two",
-- Right Menu Config
["SERVER_NAME"] = "Server Name",
["SERVER_TEXT"] = "Server Text",
["SERVER_DISCORD"] = "Server Discord"
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
-- Left Menu
N_0xb9449845f73f5e9c("SHIFT_CORONA_DESC")
PushScaleformMovieFunctionParameterBool(true)
PopScaleformMovieFunction()
N_0xb9449845f73f5e9c("SET_HEADER_TITLE")
PushScaleformMovieFunctionParameterString(config["TITLE"])
PushScaleformMovieFunctionParameterBool(true)
PushScaleformMovieFunctionParameterString(config["SUBTITLE"])
PushScaleformMovieFunctionParameterBool(true)
PopScaleformMovieFunctionVoid()
-- Right Menu
BeginScaleformMovieMethodOnFrontendHeader("SET_HEADING_DETAILS")
PushScaleformMovieFunctionParameterString(config["SERVER_NAME"])
PushScaleformMovieFunctionParameterString(config["SERVER_TEXT"]:format(cashAmount))
PushScaleformMovieFunctionParameterString(config["SERVER_DISCORD"]:format(bankAmount))
ScaleformMovieMethodAddParamBool(false)
ScaleformMovieMethodAddParamBool(isScripted)
EndScaleformMovieMethod()
end
end)
Enjoy!
How to change color ?