[Ajuda] Game text
#1

pawn Код:
if(pInfo[playerid][adm] >= 1)
        {
        format(String,sizeof(String),"adm %s online",Nome);
        GameTextForAll(String,3000,2);
        }
Coloquei no onplayerconnect,sу que nгo mostra o gametext :C
Reply
#2

Tem que colocar em OnPlayerLogin
Tente com o seu.
Qualquer coisa, utilize esse que fiz.

pawn Код:
if(PlayerInfo[playerid][adm] >= 1)
    {
        new Nome[MAX_PLAYER_NAME];
        GetPlayerName(playerid, Nome, sizeof(Nome));
        format(gstring, sizeof(gstring), "~w~~y~%s: ~g~Online", Nome);
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i)) GameTextForPlayer(i, gstring , 5000, 1);
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)