newcar id's problem
#2

First of all, let's clean the code a little
pawn Код:
switch(newcar) {
    case 152..162: {
        if(!(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6))
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid,COLOR_GREY,"{30a030}[GameFront]: {ffffff}Ne pare rau, dar nu faci parte din factiunea {30a030}Yakuza{ffffff}.");
            return 1;
        }
    }
}
You can find car id by looking at your code. Each CreateVehicle/AddStaticVehicle adds +1 to next car id. Pretty simple
Reply


Messages In This Thread
newcar id's problem - by Sp3cter - 05.08.2012, 06:40
Re: newcar id's problem - by Misiur - 05.08.2012, 06:59
Re: newcar id's problem - by Devilxz97 - 05.08.2012, 08:26
Re: newcar id's problem - by Sp3cter - 05.08.2012, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)