Create vehicle ID
#2

I would create a vehicle index system this way you add your vehicle with a function such as....

Код:
stock AddNewCar(modelid, vehicletype, Float:rx, Float:ry, Float:rz, Float:fa, color1, color2, paintjob, components[14]) {}
This way you can specify the vehicletype such as...

#define VEHICLE_TYPE_ADMIN
#define VEHICLE_TYPE_POLICE

etc

Then your admin car check would look like this IsAdminVehicle(GetPlayerVehicleID(playerid)) and would not be limited to specific vehicle ids all I got to say is....

RAVENS ROLEPLAY IS WRITTEN BY MONKEYS

That code is a absolute joke.
Reply


Messages In This Thread
Create vehicle ID - by [..MonTaNa..] - 30.04.2013, 05:04
Re: Create vehicle ID - by Pottus - 30.04.2013, 05:49

Forum Jump:


Users browsing this thread: 1 Guest(s)