13.07.2012, 13:09
Hey guys Iv just been working on a trucking system. Iv pretty much done, everything was going well. Then I found a big problem that I dont know how to fix. When My mates driving the truck, if I jack him then he jacks the truck back. My chat is spammed majorly with text thats being created with timers.
The timers iv got are:
forward IsTrailer(playerid);//attach trailer
public IsTrailer(playerid)//
Which checks if a trailer is connected to the truck and if it is it does another timer
which is:
forward IsTrailerOff(playerid);//detach trailer
public IsTrailerOff(playerid)
which checks if the trailer is disconected..
It seems to be a problem probably with the timing not getting killed when being jacked? Otherwise i really dont know! Any information would be extremly helpful!
The timers iv got are:
forward IsTrailer(playerid);//attach trailer
public IsTrailer(playerid)//
Which checks if a trailer is connected to the truck and if it is it does another timer
which is:
forward IsTrailerOff(playerid);//detach trailer
public IsTrailerOff(playerid)
which checks if the trailer is disconected..
It seems to be a problem probably with the timing not getting killed when being jacked? Otherwise i really dont know! Any information would be extremly helpful!