SA-MP Forums Archive
Vehicles Minimum ID - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicles Minimum ID (/showthread.php?tid=215637)



Vehicles Minimum ID - CoaPsyFactor - 23.01.2011

Hi there,

I just want to know what is ID of first created vehicle, is it 0 or is it 1.

Thanks, in advance.


Re: Vehicles Minimum ID - Alex_Valde - 23.01.2011

0?
(Not sure though)


Re: Vehicles Minimum ID - Outcast - 23.01.2011

I think it's 0


Re: Vehicles Minimum ID - TerinoR - 23.01.2011

1, I am sure 1


Re: Vehicles Minimum ID - Not available - 23.01.2011

I'm 100% sure that it's 1.


Re: Vehicles Minimum ID - Alex_Valde - 23.01.2011

Yeah, It's 1. Sorry about my first post, I had some troubles with that too.


Re: Vehicles Minimum ID - TerinoR - 23.01.2011

Код:
public OnGameModeInit()
{
    printf("%d", CreateVehicle(400, 0.0, 0.0, 0.0, 0.0, 0, 0, 0));
}
Output: 1