[Ajuda] TextDraw Para contar Players
#1

Olб estou com algumas duvidas nisto aqui:

pawn Код:
new Text:ContarPlayers;
new Contagem[MAX_PLAYERS];
OnGameModeInit()
{
 ContarPlayers = TextDrawCreate(16.000000,353.000000, "~b~ %s/100", Contagem);
    TextDrawBackgroundColor(ContarPlayers,BRANCO);
    TextDrawFont(ContarPlayers,3);
    TextDrawLetterSize(ContarPlayers,0.499999,1.300000);
    TextDrawBoxColor(ContarPlayers, AZULZAO);
    TextDrawColor(ContarPlayers, LILAS);
    TextDrawSetOutline(ContarPlayers,2);
    TextDrawSetProportional(ContarPlayers,1);
    TextDrawSetShadow(ContarPlayers,1);
    return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
 TextDrawShowForPlayer(playerid, ContarPlayers);
 return 1;
}
public OnPlayerConnect(playerid)
{
 Contagem[playerid]++;
 return 1;
}
Eu Retirei so estas partes do GM para vocкs ver o que estб errado ai.. Obrigado
Reply


Messages In This Thread
TextDraw Para contar Players - by PauloCPB - 21.04.2014, 15:42
Re: TextDraw Para contar Players - by jovinon - 21.04.2014, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)