24.04.2013, 01:03
Auguem pode me ajudar nao sei como colocar o nick do player tipo o nick fica mais quando entra outra pessoa o nick muda ajuda ae pf
Code
Code
pawn Код:
new
Text:Textdraw10
;
public OnGameModeInit()
{
Textdraw10 = TextDrawCreate( 8.941410, 305.082885, "%s");
TextDrawLetterSize(Textdraw10, 0.356353, 1.874166);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, -5963521);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 2);
TextDrawBackgroundColor(Textdraw10, 41215);
TextDrawFont(Textdraw10, 3);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetSelectable(Textdraw10, true);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw10);
format(gString, sizeof(gString), "%s", Nome(playerid));
TextDrawSetString(Textdraw10, gString);
return 1;
}