[AJUDA] Sу funciona com o id 0
#2

pawn Код:
new armour[MAX_PLAYERS],saco[MAX_PLAYERS];
public Armadura(playerid)  // by [GuN]Nemesis[DN]
{
   
    GetPlayerArmour(playerid, armour[playerid]);
    if( armour[playerid] > 0)
    {
        SetPlayerAttachedObject(playerid, 1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);//armadura
        SetPlayerAttachedObject(playerid, 2,19141,2,0.11,0.0,0.0,0.0,0.0,0.0);//elmo
        SetPlayerAttachedObject(playerid, 3, 18917, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);// mascara
    }
    else if( armour[playerid] == 0)
    {
        RemovePlayerAttachedObject(playerid,1);
        RemovePlayerAttachedObject(playerid,2);
        RemovePlayerAttachedObject(playerid,3);
    }
    return 1;
}


public Saco(playerid) // By [GuN]Nemesis[DN]
{
    if(GetPlayerCash(playerid) > 50000)
    {
       saco[playerid] = SetPlayerAttachedObject( playerid, saco, 1550, 1, 0.024558, -0.279748, -0.060589, 6.105677, 137.291320, 147.132202, 1.019888, 1.000000, 1.000000 );
    }
    else if(GetPlayerCash(playerid) < 50000)
    {
        RemovePlayerAttachedObject(playerid, saco[playerid]);
    }
    return 1;
}
...
Reply


Messages In This Thread
[AJUDA] Sу funciona com o id 0 - by [GuN]Nemesis[DN] - 10.06.2011, 16:22
Re: [AJUDA] Sу funciona com o id 0 - by TheGarfield - 10.06.2011, 17:09
Re: [AJUDA] Sу funciona com o id 0 - by Kuddy - 10.06.2011, 20:21
Re: [AJUDA] Sу funciona com o id 0 - by [S]trong - 10.06.2011, 20:24
Re: [AJUDA] Sу funciona com o id 0 - by SuB_ZeRo0_ - 10.06.2011, 20:25
Re: [AJUDA] Sу funciona com o id 0 - by [S]trong - 10.06.2011, 20:30
Re: [AJUDA] Sу funciona com o id 0 - by SuB_ZeRo0_ - 11.06.2011, 21:37
Re: [AJUDA] Sу funciona com o id 0 - by TheGarfield - 11.06.2011, 21:41
Re: [AJUDA] Sу funciona com o id 0 - by [S]trong - 11.06.2011, 22:44
Re: [AJUDA] Sу funciona com o id 0 - by SuB_ZeRo0_ - 11.06.2011, 22:46

Forum Jump:


Users browsing this thread: 4 Guest(s)