make from civilian vehicle to police vehicle
#1

hello everyone
i see by every GM a car that is a civilian vehicle but it is for cops
so it's a infernus LSPD or something!
and a fully black LSPD car
how to do something like that?
Reply
#2

You can like if you got a system

Code:
OnPlayerEnterVehicle(playerid,vehicleid){
If(Job == 7 // player id's job)
{
return 1;
}
if(Job != 7)
{
SendClientMessage(playerid,0xFF0000AA,"You must be cop to enter the vehicle");
return 0; // or RemovePlayerFromVehicle
}
}
Reply
#3

i mean
how to make a infernus or something in place of random color:
black?
Reply
#4

a_samp.inc in your function list...native AddStaticVehicle(modelid, Floatpawn_x, Floatpawn_y, Floatpawn_z, Float:z_angle, color1, color2);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)