[AJUDA] Cordenadas
#9

pawn Код:
forward DetectorArmas(playerid);
public DetectorArmas(playerid)
{
    if(GetPlayerSkin(playerid) == SKIN_POLICIA ||
        GetPlayerSkin(playerid) == SKIN_POLICIA || GetPlayerSkin(playerid) == SKIN_POLICIA
        GetPlayerSkin(playerid) == SKIN_POLICIA || GetPlayerSkin(playerid) == SKIN_POLICIA) return 1;
       
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 247.8819,63.5701,1003.6406))
    {
        if(Armas[playerid] == 0)
         {
            for (new i = 0; i < 13; i++) GetPlayerWeaponData(playerid, i, ArmasDetector[playerid][i], ArmasBallasDetector[playerid][i]);
            ResetPlayerWeapons(playerid);
            SendClientMessage(playerid,0xFF0000AA,"Vocк deixou suas armas no detector de metal");
            Armas[playerid] = 1;
        }
    }
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 245.8359,63.4817,1003.6406))
    {
        if(Armas[playerid] == 1)
        {
            for (new i = 0; i < 13; i++) GivePlayerWeapon(playerid, ArmasDetector[playerid][i], ArmasBallasDetector[playerid][i]);
            SendClientMessage(playerid, 0xFF0000AA," ** Vocк pegou as armas!");
            Armas[playerid] == 0;
        }
    }
     return 1;
}
Tente.
Reply


Messages In This Thread
[AJUDA] Cordenadas - by Kelvin_Cesar - 09.01.2012, 02:21
Re: [AJUDA] Cordenadas - by [NWD]Jim._.Carrey - 09.01.2012, 03:05
Re: [AJUDA] Cordenadas - by [KoS]Izaac - 09.01.2012, 03:11
Re: [AJUDA] Cordenadas - by Kelvin_Cesar - 09.01.2012, 03:42
Re: [AJUDA] Cordenadas - by Falcon. - 09.01.2012, 04:17
Re: [AJUDA] Cordenadas - by Kelvin_Cesar - 09.01.2012, 10:40
Re: [AJUDA] Cordenadas - by sGarfield - 09.01.2012, 11:07
Re: [AJUDA] Cordenadas - by Kelvin_Cesar - 09.01.2012, 11:10
Re: [AJUDA] Cordenadas - by sGarfield - 09.01.2012, 11:24
Re: [AJUDA] Cordenadas - by Kelvin_Cesar - 09.01.2012, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)