Create vehicle ID
#1

Removed.
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)