[Ajuda] Colete nгo aparece?
#1

Coloquei essa funзгo no onplayerupdate:


Код:
    new Float:colete;
    GetPlayerArmour(playerid,colete);
    if(colete>1)
    {
 SetPlayerAttachedObject(playerid,2,19515,1,0.068999,0.037000,-0.001000,0.000000,0.000000,0.000000,0.972000,1.147000,1.099000);
    }
    if(colete<1)
    {
        RemovePlayerAttachedObject(playerid,2);
    }
Mas nгo esta aparecendo o colete no player .
Reply
#2

tente:
pawn Код:
stock AtualizarInfos(playerid){
        new aname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, aname, sizeof(aname));
        new plrIP[16];
        new Float:vida;
        GetPlayerHealth(playerid, vida);
        new Float:colete;
        GetPlayerArmour(playerid, colete);
        GetPlayerIp(playerid, plrIP, sizeof(plrIP));
        new string[256];
        TextDrawSetString(statu[playerid], string);
        new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        return 1;
    }
Reply
#3

Isso nгo tem nada a ver mano .
Reply
#4

certeza absoluta?

pawn Код:
GetPlayerArmour(playerid, colete);
Sу um de vossos codes acima.
Reply
#5

Й , mas eu boto a stock , e depois ?
Reply
#6

Atualiza seu code do colete com as funзхes da stock.
Reply
#7

Quote:
Originally Posted by DannielCooper
Посмотреть сообщение
Atualiza seu code do colete com as funзхes da stock.
Nгo sei mecher com stock, da pra ajudar ?e.e
Reply
#8

stock й a mesma coisa de uma callback, sу que nгo precisa de uma definiзгo como forward. Ao meu ponto de vista.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)