Crash Detector Question
#7

Quote:
Originally Posted by _Zeus
Посмотреть сообщение
pawn Код:
new vid = vehicleid-1;
What if a vehicle has ID 0? It will go -1 which is out of the range. Not sure if that causes though.
With mysql, the vehicle ID gets stored into the enums. It loads 1 ID to high, so to get correct vehicle you have to do -1, it will never reach 0 though.

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Do not recreate the vehicle, simply move it to coords, change its color and set its plate. The plate should change because spawned doesn't mean streamed.
Alright I will def do this now.
Reply


Messages In This Thread
Crash Detector Question - by Abreezy - 10.07.2013, 14:31
Re: Crash Detector Question - by Passout - 10.07.2013, 14:34
Re: Crash Detector Question - by Misiur - 10.07.2013, 14:38
Re: Crash Detector Question - by Abreezy - 10.07.2013, 14:46
Re: Crash Detector Question - by Konstantinos - 10.07.2013, 14:50
Re: Crash Detector Question - by Misiur - 10.07.2013, 14:52
Re: Crash Detector Question - by Abreezy - 10.07.2013, 14:59

Forum Jump:


Users browsing this thread: 1 Guest(s)