Turbe$Z Posted October 10, 2016 Share Posted October 10, 2016 local screenW, screenH = guiGetScreenSize() local online = #getElementsByType("player") addEventHandler("onClientRender", root, function() dxDrawRectangle(screenW * 0.0069, screenH * 0.7144, screenW * 0.2188, screenH * 0.0289, tocolor(0, 0, 0, 178), false) dxDrawText("#00FF00Online #FFffffkockák: #00bafF"..online.."/32", screenW * 0.0097, screenH * 0.7144, screenW * 0.2257, screenH * 0.7422, tocolor(255, 255, 255, 255), 0.90, "pricedown", "center", "center", false, false, false, true, false) end ) will not charge players only if resource restart, why? /sorry for my bad english/ Link to comment
koragg Posted October 10, 2016 Share Posted October 10, 2016 I don't think I understand what you want to say, can you explain what's wrong? Link to comment
Walid Posted October 10, 2016 Share Posted October 10, 2016 (edited) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() local online = #getElementsByType("player") dxDrawRectangle(screenW * 0.0069, screenH * 0.7144, screenW * 0.2188, screenH * 0.0289, tocolor(0, 0, 0, 178), false) dxDrawText("#00FF00Online #FFffffkockák: #00bafF"..online.."/32", screenW * 0.0097, screenH * 0.7144, screenW * 0.2257, screenH * 0.7422, tocolor(255, 255, 255, 255), 0.90, "pricedown", "center", "center", false, false, false, true, false) end ) Edited October 10, 2016 by Walid 1 Link to comment
Turbe$Z Posted October 11, 2016 Author Share Posted October 11, 2016 15 hours ago, Walid said: local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() local online = #getElementsByType("player") dxDrawRectangle(screenW * 0.0069, screenH * 0.7144, screenW * 0.2188, screenH * 0.0289, tocolor(0, 0, 0, 178), false) dxDrawText("#00FF00Online #FFffffkockák: #00bafF"..online.."/32", screenW * 0.0097, screenH * 0.7144, screenW * 0.2257, screenH * 0.7422, tocolor(255, 255, 255, 255), 0.90, "pricedown", "center", "center", false, false, false, true, false) end ) Thanks man Link to comment
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