17.09.2011, 23:00
Bom Pessoal aqui esta o textDraw
pawn Code:
Bom eu ponho tudo de acordo que estб logo acima, pois quando eu abro o server pra testar o rodapй nao aparece !!!
Esse rodape e da [SoD] Mais claro q vo edita !!!!
Help !!! Me ajudem '
Grato: Gustavo
pawn Code:
PHP код:
//==========/*TOPO DO GAMEMODE*/==========//
new Text:Rodape;
forward RodapeTimer()
//==========/*OnPlayerConnect*/==========//
TextDrawShowForPlayer(playerid, Rodape);
//==========/*OnPlayerDisconnect*/==========//
TextDrawHideForPlayer(playerid, Rodape);
//==========/*OnGameModeInit*/==========//
Rodape = TextDrawCreate(1.000000, 437.000000, "~w~[SoD] ~r~Society Of Drifiters ~w~(/) ~r~Players ~w~http://www.equipe-sod.blogspot.com /ajuda ~r~Horario: ~w~::");
TextDrawBackgroundColor(Rodape, 0x00000066);
TextDrawFont(Rodape, 1);
TextDrawLetterSize(Rodape, 0.340, 1.0);
TextDrawColor(Rodape, 0xFFFFFFFF);
TextDrawSetOutline(Rodape, 0);
TextDrawSetProportional(Rodape, 1);
TextDrawSetShadow(Rodape, 1);
TextDrawUseBox(Rodape, 1);
TextDrawBoxColor(Rodape, 0x00000066);
TextDrawTextSize(Rodape, 640.0, 13.0);
SetTimer("RodapeTimer", 1000, true);
//==========/*FINAL DO GAMEMODE(RECOMENDADO)*/==========//
public RodapeTimer()
{
new PlayersOn, string[125], hour, minute, second;
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(!IsPlayerConnected(i)) continue;
PlayersOn++;
}
gettime(hour,minute,second);
format(string, sizeof string, "~w~[SoD] ~r~Society Of Drifiters ~w~(%d/%d) ~r~Players http://~w~www.equipe-sod.blogspot.com /ajuda ~r~Horario: ~w~%d:%d:%d", PlayersOn, GetMaxPlayers(), hour, minute, second);
TextDrawSetString(Rodape, string);
return 1;
}
Esse rodape e da [SoD] Mais claro q vo edita !!!!
Help !!! Me ajudem '
Grato: Gustavo