i have a problem on cars - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i have a problem on cars (
/showthread.php?tid=189788)
i have a problem on cars -
traficgamesro - 13.11.2010
hy , i have a problem with factions cars , for exemple
im leader of mecrewry family and in my hq i have 1-2 cars , When I get in it says . You are not member of paterno family .... and not only on this faction , of ng says "Your ar not buss driver " when i want enter the plane Vidra ... please help
Re: i have a problem on cars -
Osviux - 13.11.2010
Bad job ID's
Re: i have a problem on cars -
traficgamesro - 13.11.2010
how did know jobs ID?
Re: i have a problem on cars -
Typhome - 13.11.2010
Wrong car ID's.
Re: i have a problem on cars -
traficgamesro - 13.11.2010
so , how resolve ? this BUG? , i pick id cars of wiki samp
Re: i have a problem on cars -
Typhome - 13.11.2010
ID AND MODEL IS DIFFERENT
ID = ID of Vehicle
MODEL = Model of Vehicle (560 = Sultan, etc)
you tooked from is a model.
Код:
public GangCar(carid)
{
if(carid == 3)
{
return 1;
}
return 0;
}
etc
Re: i have a problem on cars -
traficgamesro - 13.11.2010
i have this
Код:
if(newcar >= 230 && newcar <= 237)
{
if(PlayerInfo[playerid][pMember] == 14||PlayerInfo[playerid][pLeader] == 14) { }
else
{
SendClientMessage(playerid,COLOR_WHITE," You are not member of Mecrewry Family");
RemovePlayerFromVehicle(playerid);
}
ITS OK ?
Re: i have a problem on cars -
playbox12 - 13.11.2010
That depends. The thing is is that a vehicle ID changes everytime you add new vehicles to you gamemode.
Re: i have a problem on cars -
iggy1 - 13.11.2010
Quote:
Originally Posted by playbox12
That depends. The thing is is that a vehicle ID changes everytime you add new vehicles to you gamemode.
|
As long as you add the vehicles after any existing vehicles in the script i don't think it will mess up the vehicleids just add more id's. Vehicleids are just the order they are placed in the script like classids. (i think anyway)
Re: i have a problem on cars -
traficgamesro - 13.11.2010
no , old cars its delete , i placen new cars in then places