Closed FlockersDesign closed 4 years ago
or
in your server.cfg put:
set es_startingCash 1000
set es_startingGold 10
set es_defaultDatabase 0
set es_enableCustomData 1
set redemrp_enablepvp 1
EDIT:
function DrawCoords()
if Config.Coords then
local _source = source
local ent = GetPlayerPed(_source)
local pp = GetEntityCoords(ent)
local hd = GetEntityHeading(ent)
DrawTxt("x = " .. tonumber(string.format("%.2f", pp.x)) .. " y = " .. tonumber(string.format("%.2f", pp.y)) .. " z = " .. tonumber(string.format("%.2f", pp.z)) .. " | H: " .. tonumber(string.format("%.2f", hd)), 0.01, 0.0, 0.4, 0.4, true, 255, 255, 255, 150, false)
end
end
function DrawTxt(str, x, y, w, h, enableShadow, col1, col2, col3, a, centre)
local str = CreateVarString(10, "LITERAL_STRING", str)
SetTextScale(w, h)
SetTextColor(math.floor(col1), math.floor(col2), math.floor(col3), math.floor(a))
SetTextCentre(centre)
if enableShadow then SetTextDropshadow(1, 0, 0, 0, 255) end
DisplayText(str, x, y)
end
hope it's this and it help :)
i have 2 questions 1 were can i set players starter money 2 how to turn off the corts will be nice to make like a small info readme for this kind of stuff to make it a little easyer for new redm server devs :P