Log in to reply
 

How can i create a timer in my script



  • I am trying to create a timer in my script so that something is drawn for a certain amount of time but i can use Script.Wait or Wait as that would just freeze and not allow my script to draw because its frozen



  • When you want to start drawing, save the time you want the drawing to stop to a variable. In your Tick, check if the current time is < the stop time, if it is, keep drawing, otherwise stop drawing.



  • @Jitnaught Welcome back, you were missed.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.