yeah I made it it worked but uh... I have to do /drugs amount and /drugs again to make it to the number
local marker = createMarker(2483.900390625, -1666.7001953125, 13.3, "cylinder", 1, 255, 2, 0)
function theThing (cmd, Number)
currentDrugs = getElementData(localPlayer, "drugs") or 0
noob = setElementData(localPlayer, "drugs", currentDrugs + Number)
end
addCommandHandler("drugs", theThing)
function padappa ( )
dxDrawText ( tostring ( currentDrugs ), 507, 466, 786, 569, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false )
end
addEventHandler ( "onClientRender", root, padappa )