How i can make the only soldier class, who able drive rhino?
#5

I Know Bro You Are Using COD-WAW

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(GetVehicleModel(vehicleid) == 432 && gPlayerClass[playerid] == Assault) SendClientMessage(playerid, COLOR_BRIGHTRED, "Blam Blam Blam!!
    else
    {
           SendClientMessage(playerid, red, "ERROR: You need to be soldier to able drive rhino tank");
           RemovePlayerFromVehicle(playerid);
           return 1;
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)