Bug with faction cars
#1

i make it in OnPlayerStateChange but it wont to remove me from car if im not GSF Faction

Код:
	if(newstate == 1)
    {
        new CarCheck = GetPlayerVehicleID(playerid);
   		if(CarCheck == GSF[0] || CarCheck == GSF[1] || CarCheck == GSF[2] || CarCheck == GSF[3] || CarCheck == GSF[4] || CarCheck == GSF[5] || CarCheck == GSF[6]  || CarCheck == GSF[7]  || CarCheck == GSF[8]  || CarCheck == GSF[9]  || CarCheck == GSF[10] || CarCheck == GSF[11]  || CarCheck == GSF[12] || CarCheck == GSF[13] || CarCheck == GSF[14]  )
        {
            if(PlayerInfo[playerid][Clan] != 1 || PlayerInfo[playerid][Lider] != 1)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_RED, "You Don't have the keys for this car.");
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Bug with faction cars - by FL3GM4 - 19.12.2012, 09:21
Re: Bug with faction cars - by Roel - 19.12.2012, 10:20
Re: Bug with faction cars - by FL3GM4 - 19.12.2012, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)