TheSmart Posted May 10, 2015 Posted May 10, 2015 Hello Guys! mana ya scripts community sa download ki hai, ya fps scoreboard mai show kartha hai lakin ya kuch bhi show nahi kar raha kyun? no error in debugscript 3 Client local root = getRootElement() local player = getLocalPlayer() local counter = 0 local starttick local currenttick addEventHandler("onClientRender",root, function() if not starttick then starttick = getTickCount() end counter = counter + 1 currenttick = getTickCount() if currenttick - starttick >= 1000 then setElementData(player,"fps",counter) counter = 0 starttick = false end end ) Server addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","FPS") end )
Mr.unpredictable. Posted May 10, 2015 Posted May 10, 2015 /debugscript 3 Ko type Karen aur koi hi Error aye tho post Kare.
Walid Posted May 10, 2015 Posted May 10, 2015 koi error nahi hai addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","fps") end )
TheSmart Posted May 10, 2015 Author Posted May 10, 2015 koi error nahi hai addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","fps") end ) Thanks Dude
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