[Pedido] TextDraw piscando..
#7

Tenta ae

PHP код:
#include <a_samp>
new Text:Colorido;
new 
Cores[][] =
{
    
"~g~Servidor",
    
"~r~Servidor",
    
"~y~Servidor",
    
"~b~Servidor"
};
public 
OnGameModeInit()
{
    
SetTimer("Cores",1000,1);
    
Colorido TextDrawCreate(64.000000,319.000000"");
    
TextDrawAlignment(Colorido0);
    
TextDrawBackgroundColor(Colorido0x000000ff);
    
TextDrawFont(Colorido2);
    
TextDrawLetterSize(Colorido0.199999,0.799999);
    
TextDrawColor(Colorido0xffffffff);
    
TextDrawSetOutline(Colorido1);
    
TextDrawSetProportional(Colorido1);
    
TextDrawSetShadow(Colorido1);
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    
SetTimer("RandonCores",1000,1);
    return 
1;
}
forward RandonCores(playerid);
public 
RandonCores(playerid)
{
    
TextDrawSetString(ColoridoCores[random(sizeof(Cores))]);
    
TextDrawShowForPlayer(playeridColorido);
    return 
1;

Reply


Messages In This Thread
TextDraw piscando.. - by LuisFerreira - 19.08.2015, 19:49
Re: TextDraw piscando.. - by JPedro - 19.08.2015, 20:00
Re: TextDraw piscando.. - by LuisFerreira - 19.08.2015, 22:22
Re: TextDraw piscando.. - by n0minal - 19.08.2015, 22:28
Re: TextDraw piscando.. - by iTakelot - 19.08.2015, 22:31
Re: TextDraw piscando.. - by LuisFerreira - 19.08.2015, 22:39
Re: TextDraw piscando.. - by IgorLuiz - 19.08.2015, 23:43
Re: TextDraw piscando.. - by JPedro - 20.08.2015, 00:10
Re: TextDraw piscando.. - by Locky_ - 20.08.2015, 00:21
Re: TextDraw piscando.. - by LuisFerreira - 20.08.2015, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)