[Ajuda] Tem como ?
#5

Nгo testei...

pawn Код:
new Players;

public OnPlayerConnect(playerid)
{
    Players++;
    new Str[20];
    format(Str, sizeof(Str), "PLAYERS ONLINE: %i", Players);
    TextDrawSetString(TEXT, Str)
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    Players--;
    new Str[20];
    format(Str, sizeof(Str), "PLAYERS ONLINE: %i", Players);
    TextDrawSetString(TEXT, Str)
    return 1;
}
Troca "TEXT" pelo nome da Textdraw
Reply


Messages In This Thread
Tem como ? - by TwitterTiaguinho - 10.12.2013, 15:32
Re: Tem como ? - by Input - 10.12.2013, 15:37
Re: Tem como ? - by Ph0ton - 10.12.2013, 15:38
Re: Tem como ? - by TwitterTiaguinho - 10.12.2013, 15:42
Re: Tem como ? - by Ph0ton - 10.12.2013, 15:47
Re: Tem como ? - by 22 - 10.12.2013, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)