Posts: 46
Threads: 7
Joined: Jun 2009
Reputation:
0
i am not looking for cars ID like 400-600.
this is a line from godfather:
{405,-2125.7424,658.0462,52.2988,93.9612},//carid 90
^
^
how he know that this is 90
is there anywhere defined or something.
btw. I need it for rent car and some other things.
Posts: 3,312
Threads: 33
Joined: Nov 2008
Reputation:
0
if u have the vehicles on one script all addststicvehicle bцah
then u can count from 1 to ...
so u get the id like that
if u want to check the vehicle id sum1 drives then u need
GetPlayerVehicleID(playerid);
Posts: 46
Threads: 7
Joined: Jun 2009
Reputation:
0
i have some AddStaticVehicle and have AddStaticVehicleEx
and i counted then all together and the result in game was bad. all mixed
rentcar,planes,boats,taxi all.....
how should i count
Posts: 3,312
Threads: 33
Joined: Nov 2008
Reputation:
0
count them in ur script line for line
AddStaticVehicle(blah..); //1
AddStaticVehicle(blah..);//2
AddStaticVehicle(blah..);//3
AddStaticVehicle(blah..);//4
AddStaticVehicle(blah..);//5
AddStaticVehicle(blah..);//6