[Ajuda] TextDraw
#4

PHP код:
new Text:NameMAX_PLAYERS ]; 
OnGameModeInit
PHP код:
for( new 0MAX_PLAYERS; ++)
    {
        
Name] = TextDrawCreate(1.000000328.000000," ");
        
TextDrawBackgroundColor(Name], 255);
        
TextDrawFont(Name], 2);
        
TextDrawLetterSize(Name], 0.5000001.000000);
        
TextDrawColor(Name], 16711935);
        
TextDrawSetOutline(Name], 1);
        
TextDrawSetProportional(Name], 1);
    } 
OnPlayerSpawn
PHP код:
foreach(Player)
    {
        if(
IsPlayerConnected(i))
        {
            new 
name[MAX_PLAYER_NAME];
            
GetPlayerName(iname,sizeof(name));
            
format(strt,sizeof(strt),"Nick: ~b~%s",name));
            
TextDrawSetString(Name],strt);
        }
        return 
1;
    } 
Reply


Messages In This Thread
TextDraw - by maxblaya01 - 18.07.2015, 04:32
Re: TextDraw - by Welconha - 18.07.2015, 04:33
Re : TextDraw - by maxblaya01 - 18.07.2015, 04:47
Re: TextDraw - by Welconha - 18.07.2015, 05:15
Re : TextDraw - by maxblaya01 - 18.07.2015, 05:25
Re: TextDraw - by Welconha - 18.07.2015, 05:27
Re: TextDraw - by Lуs - 18.07.2015, 06:39
Re: TextDraw - by IgorLuiz - 18.07.2015, 07:36
Re: TextDraw - by Lуs - 18.07.2015, 08:43
Re: TextDraw - by IgorLuiz - 18.07.2015, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)