hey guys im trying yo change the CurTime on a SWEP because it takes too long to refire it's like 10 sec to cool down...is there a way to change it to rapid fire??
Heres the code:
-MissileStorm
ENT.ShootMissileStormDel = CurTime()
ENT.UseMissileStormDel = CurTime()
ENT.NextMissileStorm = CurTime()
ENT.MissileStormDestPos = Vector(0,0,0)
No.
:wtc:
You can't change CurTime() because that's like making a minute twice as fast in real life.
You can change CurTime but there's no point in doing it.
[editline]11:48AM[/editline]
Just change what you add on to CurTime()
[QUOTE=|FlapJack|;22120429]You can change CurTime but there's no point in doing it.
[editline]11:48AM[/editline]
Just change what you add on to CurTime()[/QUOTE]
Yeah but he as asking if you change the time that CurTime() represents
[quote]because it takes too long to refire it's like 10 sec to cool down...is there a way to change it to rapid fire??[/quote]
messing with CurTime isnt the way to go, change the values instead
[lua]curtime = CurTime
function CurTime()
return curtime() + 1
end[/lua]
The OP is clearly trying to exploit a server so he can fire faster
Or maybe he doesn't know shit about Lua and CurTime() and doesn't know what it does.
[editline]06:43PM[/editline]
Apparently, all he wants is make a weapon shoot faster.
[lua]function CurTime()
return 1;
end[/lua]
/facepalm
Sorry, you need to Log In to post a reply to this thread.