29.09.2012, 15:13
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);//variable to get vehicle ids
if(newstate == PLAYER_STATE_DRIVER && 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);
}
pawn Код:
if(newstate == PLAYER_STATE_DRIVER && GetVehicleModel(vehicleid)...