[GameMode] Editado
#4

pawn Код:
if(!IsPlayerInAnyVehicle(playerid))
    {
        new Armas[MAX_PLAYERS], Balas[MAX_PLAYERS];
        GetPlayerWeaponData(playerid, 5, Armas[playerid], Balas[playerid]);
                if(Armas[playerid] == 30 && Balas[playerid] >= 1)
                {
            if(GetPlayerWeapon(playerid) == 30) RemovePlayerAttachedObject(playerid,M4-AK);
            else SetPlayerAttachedObject(playerid, M4-AK, 355, 1, -0.060921, -0.141673, 0.000000, 0.000000, 35.362735, 0.000000);
                }
                else if(Armas[playerid] == 31 && Balas[playerid] >= 1)
                {
                        if(GetPlayerWeapon(playerid) == 31) RemovePlayerAttachedObject(playerid,M4-AK);
            else SetPlayerAttachedObject(playerid, M4-AK, 356, 1, -0.099681, -0.133408, 0.000000, 1.027592, 19.667785, 0.000000);
                }
                else
                {
                    RemovePlayerAttachedObject(playerid,M4-AK);
                }
        GetPlayerWeaponData(playerid, 3, Armas[playerid], Balas[playerid]);
                if(Armas[playerid] == 25 && Balas[playerid] >= 1)
                {
                    if(GetPlayerWeapon(playerid) == 25) RemovePlayerAttachedObject(playerid,PUMP);
             else SetPlayerAttachedObject(playerid, PUMP, 349, 1, -0.109260, -0.059651, -0.066210, 186.310729, 42.375362, 6.716565);
                }
                else if(Armas[playerid] == 27 && Balas[playerid] >= 1)
                {
                        if(GetPlayerWeapon(playerid) == 27) RemovePlayerAttachedObject(playerid,PUMP);
                        else SetPlayerAttachedObject(playerid, PUMP, 351, 1, -0.181073, -0.056285, -0.081242, 181.269729, 39.399085, 12.246994);
                }
                else
                {
                    RemovePlayerAttachedObject(playerid,PUMP);
                }
        }
/\ Por: Thiago Street

pawn Код:
static ArmaNaMao[MAX_PLAYERS];
    new ArmaID = GetPlayerWeapon(playerid);
    if(ArmaID > 0 && ArmaNaMao[playerid] != ArmaID)
    {
        CallLocalFunction("OnPlayerReloading", "lol", 5.0, 0, 0, 0, 0, 500);
    }
    ArmaNaMao[playerid] = ArmaID;
        return 1;
}
/\ Por: rjjj

Quote:

BATTLEFIELD 3 SAMP 100% POR LUCAS EMMANUEL

Ele conseguiu os cуdigos e nem se quer colocou os crйditos.
Depois ainda acha ruim dos membros ficarem bravos com ele.
Reply


Messages In This Thread
Editado - by Lucas-Fc - 29.10.2012, 16:57
Respuesta: Editado - by ipsBruno - 29.10.2012, 17:31
Re: Respuesta: Editado - by Jason` - 29.10.2012, 18:44
Re: Editado - by Ouro - 29.10.2012, 18:58
Re: Respuesta: Editado - by AmericanStyle'™ - 29.10.2012, 18:59
Re: Editado - by Rodney Francalim - 29.10.2012, 19:02
Respuesta: Editado - by Diogo123 - 29.10.2012, 19:23
Re: Editado - by Lucas-Fc - 29.10.2012, 20:12
Re: Editado - by Joao Pedro - 29.10.2012, 20:27
Re: Editado - by jpeg - 30.10.2012, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)