09.07.2018, 14:50
(
Последний раз редактировалось Florin48; 09.07.2018 в 15:22.
)
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.
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.