I do not lack the knowledge to administrate my server, I have one year scripting and learning how to script. The guy I'm talking about cause problems for many servers including CIT. I'm just saying it to be careful of his moves. You can find players accusing him here. Hacking is a bad action even using your mind to cheat, it breaks the game rules as well. Anyway, how to protect my scripts then?
Arran, Maybe be someone from your staff team has taken all the resources than he started selling them. It may be a high ranked staff left CIT and still have the resources. CIT resources are spreading every day, from one to one and from server to server. [CF]Sensacion aka SmartBoy is a hacker. He has a serial changer as well, I banned him more than 10 times from my server and he still joining. How the fuck they did that! These hackers are idiots, they can be even punished by law.
local currprog = guiProgressBarGetProgress(progressbar)
setTimer ( function()
guiProgressBarSetProgress(progressbar,20)
end, 30000, 1 )
This made 20% for one time only, means the first only no next increase. How to make it make the progress every 30 secs.
Well, I have no code to post, but I wanted to ask about how to guiProgressBarSetProgress with setTimer.
I want to make the progress bar increase by the time. For Example : 30 seconds makes 20% of the bar.
Well, I feel so much sorry to the pc who will explode because of the RAM overuse caused by Timers. I do not advise you to restart a resource every short period, it can cause a huge lag and f... up a server.
I think he wanted to get the price from the table whenever the player wants to sell his car, that means he get the id and the price from the table and give him the money of his car.
local Spam = {}
function lolz(thePlayer)
if ( Spam[thePlayer] ) and ( getTickCount()-Spam[thePlayer] < 30000 ) then
outputChatBox("Stop spamming",root,0,255,0)
else
Spam[thePlayer] = getTickCount()
outputChatBox("works",root,0,255,0)
end
addCommandHandler("yup", lolz)
Not tested but try it.