Fail Job System
#5

Create the timer when it comes out of the vehicle and delete it when it comes back.


Or you can create a [ new timerjob[MAX_PLAYERS] = 0; global variable ] and when you exit the vehicle you set it to [ timerjob [playerid] = 30; ] put it in a 1 second timer and do [ if (timerjob [playerid]> 0) timerjob [playerid]--; ] and when it reaches 0 you can make the vehicle disappear.

I hope you understand what I mean.


Trimite-mi un mesaj privat daca vrei sa te ajut mai mult.
Reply


Messages In This Thread
Fail Job System - by Gam3rBoyHD - 09.07.2018, 13:59
Re: Fail Job System - by spinu - 09.07.2018, 14:01
Re: Fail Job System - by Verc - 09.07.2018, 14:15
Re: Fail Job System - by spinu - 09.07.2018, 14:36
Re: Fail Job System - by Florin48 - 09.07.2018, 14:50

Forum Jump:


Users browsing this thread: 4 Guest(s)