Lil help! +rep
#1

i tried to make remove player from vehicle

i have 6 classes

Код:
new vehicleid = GetPlayerVehicleID(playerid);//variable to get vehicle ids
    if(GetVehicleModel(vehicleid) == 425 && gPlayerClass[playerid] == SOLDIER && gPlayerClass[playerid] == SNIPER && gPlayerClass[playerid] == MECHANIC && gPlayerClass[playerid] == MEDIC)
    {
    SendClientMessage(playerid, COLOR_RED, "You Need to  be an Agent Or Special Agent to fly Hunter");
    RemovePlayerFromVehicle(playerid);
    }
    if(GetVehicleModel(vehicleid) == 447 && gPlayerClass[playerid] == SOLDIER && gPlayerClass[playerid] == SNIPER && gPlayerClass[playerid] == MECHANIC && gPlayerClass[playerid] == MEDIC)
	{
	SendClientMessage(playerid, COLOR_RED, "You Need to  be an Agent Or Special Agent to fly Sea Sparrow");
    RemovePlayerFromVehicle(playerid);
    }
    if(GetVehicleModel(vehicleid) == 520 && gPlayerClass[playerid] == SOLDIER && gPlayerClass[playerid] == SNIPER && gPlayerClass[playerid] == MECHANIC && gPlayerClass[playerid] == MEDIC)
    {
    SendClientMessage(playerid, COLOR_RED, "You Need to  be an Agent Or Special Agent to fly Hydra");
    RemovePlayerFromVehicle(playerid);
    }
    if(GetVehicleModel(vehicleid) == 432 && gPlayerClass[playerid] == SOLDIER && gPlayerClass[playerid] == SNIPER && gPlayerClass[playerid] == AGENT)
    {
    SendClientMessage(playerid, COLOR_RED, "You Need to  be an Mechanic Or Medic Or Special Agent to fly Hydra");
    RemovePlayerFromVehicle(playerid);
    }
for certain vehicle remove how can i make it please my code is not working when i am in server but it compiles fine

can some-one help?
Reply


Messages In This Thread
Lil help! +rep - by Nirzor - 29.09.2012, 15:09
Re: Lil help! +rep - by newbienoob - 29.09.2012, 15:13
Re: Lil help! +rep - by XtremeR - 29.09.2012, 15:18

Forum Jump:


Users browsing this thread: 2 Guest(s)