Can add this cars in FS ?
#1

So this is my questions which i really need it is important for me.. Too many times i tryed tutorials (How to add car without id for org) btw that tutorials i folllow but nothing same my cars which is for buying is not working when i add some cars for gang.. Here is one example:

pawn Код:
new Org[4];
pawn Код:
forward IsAOrgAuto(carid);
pawn Код:
Org[0] = AddStaticVehicleEx(507,-2217.25903320,-2164.85595703,42.88318634,29.99670410,-1,-1,60); //Elegant
      Org[1] = AddStaticVehicleEx(507,-2220.83227539,-2167.85205078,42.07849503,31.99426270,-1,-1,60); //Elegant
      Org[2] = AddStaticVehicleEx(507,-2225.13574219,-2170.67553711,41.15066147,33.99426270,-1,-1,60); //Elegant
      Org[3] = AddStaticVehicleEx(507,-2228.94140625,-2172.35253906,40.32603073,33.99169922,-1,-1,60); //Elegant
pawn Код:
public IsAOrgAuto(carid)
{
    for(new i = 0; i < sizeof(Org); i++)
    {
        if(carid == Org[i]) return 1;
    }
    return 0;
}
pawn Код:
if(IsAOrgAuto(newcar))
        {
            if(PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5) { }
            else {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, COLOR_GREY,"You dont have keys.");}
        }

So when i add everything like this, my cars which is for buying (added in cars.cfg) not working... Now i want to ask can i add this cars in FS ?
Reply
#2

anyone to help me?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)