disable auto repair/fix of veh if player is in DM
#5

What i can suggest is

pawn Код:
new Allowed[MAX_PLAYERS];
public VRepair(playerid)
{
    if(IsPlayerInAnyVehicle(playerid) && Allowed == 1) RepairVehicle(GetPlayerVehicleID(playerid));
    return 1;
}
and make it when player enters DM arena Allowed = 0 and when he Exits Allowed = 1
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)