HQ cars problem
#1

Well i added some cars in my HQ in me and my friend Tal's server . The cars were placed in there right positions as i had made but when i enter them , it says you dont have the key to this vehicle or in some cars you cant even try to enter because on pressing enter , nothing happens
Reply
#2

If your using the Godfather then ask in the Godfather topic, Its to do with using car ids
Reply
#3

Well i am using LARP script .....Help me please if you can !
Reply
#4

Well lets Help This Guy
Place On top near the other fowards
Pawno Code
Quote:

forward IsAyourgangnameCar(carid); //yourgangname its your faction name.

In Public area add this
Pawn Code
Quote:

public IsAyourgangnameCar(carid)
{
if((carid >= 36) && (carid <= 6 || (carid >= 70) && (carid <= 75) || (carid >= 222) && (carid <= 22) //You Need to check your cars ids ingame and change this ids here.
{
return 1;
}
return 0;
}

And Finnally add
Pawn Code
Quote:

if(IsAyourgangnameCar(newcar))
{
if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { } else { RemovePlayerFromVehicle(playerid);
}

if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { }//4 is the id of the faction you want to drive that cars
Reply
#5

how i can get the Car IG Ingame?
I mean if i got two infernus so the code not 411

So i got all of what you say but the id thingy no.
Help me with this please.
Reply
#6

Help us!

How to find the car ID In game?

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)