[Ajuda] ajuda colete
#8

Isto deve resolver o seu problema .


Coloque :


pawn Код:
//No OnGameModeInit:


SetTimer("ColocarColete", 1000, true);



//E, no Final do GM:


forward ColocarColete();
public ColocarColete()
{
    for(new x = 0, y = GetMaxPlayers(); x != y; x++)
    {
        if(!IsPlayerConnected(x) | !IsACop(x))   continue;
        new Float:TotalColete;
        GetPlayerArmour(x, TotalColete);
        if(TotalColete > 0.0)       SetPlayerAttachedObject(x, 4, 19142, 1, 0.1, 0.05, 0.0, 0.0, 0.0, 0.0);
        else    RemovePlayerAttachedObject(x, 4);
    }
    return true;
}


Espero ter ajudado .
Reply


Messages In This Thread
ajuda colete - by FenixBorn - 20.09.2012, 15:27
Re: ajuda colete - by Petrick™ - 20.09.2012, 16:03
Re: ajuda colete - by FenixBorn - 20.09.2012, 21:01
Re: ajuda colete - by Douglas_prt - 20.09.2012, 21:08
Re: ajuda colete - by FenixBorn - 20.09.2012, 21:43
Re: ajuda colete - by YourLord - 20.09.2012, 21:55
Re: ajuda colete - by FenixBorn - 21.09.2012, 01:45
Re: ajuda colete - by rjjj - 21.09.2012, 04:38
Re: ajuda colete - by Jason` - 21.09.2012, 05:23
Re: ajuda colete - by FenixBorn - 21.09.2012, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)