Car id big problem
#1

I have a bug with cars ids
I create a job vehicle for a player that start a job and a restriction when he tries to enter the vehicle if he's not on the job and
when im entering random vehicles that aren't from the job it say's that they are job vehicles
//here i create the vehicle
JobVehicle[playerid] = CreateVehicle(482, 2179.4768,-1667.1775,14.8053, 258.5340, 0, 0, 100);
// here's the restriction (its under OnPlayerEnterVehicle)
if(DrugsCp[playerid] == 0 && vehicleid == JobVehicle[playerid])
{
SendClientMessage(playerid, COLOR_GREY, "This is a job vehicle");
SlapPlayer(playerid);
}

then after relog it all works fine if i don't wotk at that job again
Reply


Messages In This Thread
Car id big problem - by bosmania - 20.03.2019, 17:00
Re: Car id big problem - by SymonClash - 20.03.2019, 18:02
Re: Car id big problem - by bosmania - 21.03.2019, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)