[Ajuda] TextDraw
#6

Quote:
Originally Posted by yNexus
Посмотреть сообщение
PHP код:
new Textdraw2[MAX_PLAYERS]; 
PHP код:
Em OnGameModeInit 
PHP код:
for(new i=0i<GetMaxPlayers(); i++)
{
    
Textdraw2[i] = TextDrawCreate(480.000000107.000000"GHLEMES");
    
TextDrawBackgroundColor(Textdraw2[i], 255);
    
TextDrawFont(Textdraw2[i], 1);
    
TextDrawLetterSize(Textdraw2[i], 1.0200002.000000);
    
TextDrawColor(Textdraw2[i], -16776961);
    
TextDrawSetOutline(Textdraw2[i], 0);
    
TextDrawSetProportional(Textdraw2[i], 1);
    
TextDrawSetShadow(Textdraw2[i], 1);

PHP код:
OnPlayerConnect 
PHP код:
    new Pname[MAX_PLAYER_NAME];
    new 
string[128];
    
GetPlayerName(playeridPnamesizeof(Pname));
    
format(stringsizeof(string), "%s"Pname);
    
TextDrawSetString(Textdraw2[playerid], string);
    
TextDrawShowForPlayer(playeridTextdraw2[playerid]); 
esse modo й incorreto.

o correto e fazer com player textdraw ( https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw ) que foi para isso que elas foram feitas
Reply


Messages In This Thread
TextDraw - by GHLEMES - 15.04.2014, 16:22
Re: TextDraw - by VeNuZ_ - 15.04.2014, 16:39
Re: TextDraw - by GHLEMES - 15.04.2014, 17:15
Re: TextDraw - by GHLEMES - 15.04.2014, 18:02
Re: TextDraw - by yNexus - 15.04.2014, 18:29
Re: TextDraw - by PT - 15.04.2014, 18:36
Re: TextDraw - by GHLEMES - 15.04.2014, 20:08
Re: TextDraw - by yNexus - 15.04.2014, 21:42
Re: TextDraw - by GHLEMES - 16.04.2014, 02:33
Re: TextDraw - by GHLEMES - 16.04.2014, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)