16.07.2015, 19:23
Alguem sabe como crio um textdraw no canto da tela para aparecer o nick do player ? , tipo aparecer meu nick no canto da tela
new Text:himessage;
public OnGameModeInit()
{
himessage = TextDrawCreate(1.0, 5.6, "Hi, how are you?");
return 1;
}
public OnPlayerConnect(playerid)
{
new newtext[41], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(newtext, sizeof(newtext), "Hi %s, how are you?", name);
TextDrawSetString(himessage, newtext);
TextDrawShowForPlayer(playerid, himessage);
return 1;
}