Vehicle is turned off via script
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
I'm pretty sure that the function simply returns -1 for a value if it's not been set before. However, in Pawn everything that isn't exactly 0 is evaluated as "true". Therefore, -1 is also "true". It should probably be evaluated as:
pawn Код:
if(engine != 1)
yeah! problem solved, thank you very much.
Reply


Messages In This Thread
Vehicle is turned off via script - by uTorrent - 06.05.2014, 15:21
Re: Vehicle is turned off via script - by Konstantinos - 06.05.2014, 15:39
Re: Vehicle is turned off via script - by uTorrent - 06.05.2014, 15:45
Re: Vehicle is turned off via script - by Konstantinos - 06.05.2014, 15:47
Re: Vehicle is turned off via script - by Vince - 06.05.2014, 15:56
Re: Vehicle is turned off via script - by uTorrent - 06.05.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)