[AJUDA] OnSAMFire
#2

pawn Код:
public OnSAMFire(playerid,vehicleid,samid,killersam)
{
    new newcar = GetPlayerVehicleID(playerid);
    if(!IsACop(playerid) || Aeronave(newcar))
    {
        SendFamilyMessage(3,COR_EXE,"| SAM | Um invasor aйreo foi detectado e um mнssel foi enviado .");
        return 1;
    }
    if(IsACop(playerid)) return 0;
    return 1;
}

stock Aeronave(carid)
{
    switch(GetVehicleModel(carid))
    {
        case 952, 577,511,512,593,520,553,464,476,519,460,513,539,
        548,425,417,487,497,563,501,465,447,469,488: return true;
        default: return false;
    }
    return false;
}
Reply


Messages In This Thread
[AJUDA] OnSAMFire - by Ghost_ - 27.10.2011, 01:07
Re: [AJUDA] Chato.. - by [O.z]Caroline - 27.10.2011, 01:23
Re: [AJUDA] Chato.. - by Ghost_ - 27.10.2011, 01:24
Re: [AJUDA] Chato.. - by Lуs - 27.10.2011, 01:27
Re: [AJUDA] Chato.. - by Ghost_ - 27.10.2011, 01:29
Re: [AJUDA] Chato.. - by [O.z]Caroline - 27.10.2011, 01:30
Re: [AJUDA] Chato.. - by Ghost_ - 27.10.2011, 01:34
Re: [AJUDA] Chato.. - by Ghost_ - 27.10.2011, 12:34
Re: [AJUDA] Chato.. - by [O.z]Caroline - 27.10.2011, 13:51
Re: [AJUDA] Chato.. - by Macintosh - 27.10.2011, 13:55

Forum Jump:


Users browsing this thread: 3 Guest(s)