textdraw help
#10

Didn't read it carefully enough, or you would have used the definition.

new Text:himessage;

public OnGameModeInit()
{
himessage = TextDrawCreate(1.0, 5.6, "Hi, how are you?");
return 1;
}

public OnPlayerConnect(playerid)
{
new newtext[41];
format(newtext, sizeof(newtext), "Hi %s, how are you?", GetPlayerName(playerid));
TextDrawSetString(himessage, newtext);
TextDrawShowForPlayer(playerid, himessage);
return 1;
}
Reply


Messages In This Thread
textdraw help - by Sampiscool123 - 29.01.2010, 03:08
Re: textdraw help - by will_92 - 29.01.2010, 03:58
Re: textdraw help - by Sampiscool123 - 29.01.2010, 05:38
Re: textdraw help - by mansonh - 29.01.2010, 05:41
Re: textdraw help - by Sampiscool123 - 29.01.2010, 05:49
Re: textdraw help - by mansonh - 29.01.2010, 05:55
Re: textdraw help - by Sampiscool123 - 29.01.2010, 06:05
Re: textdraw help - by mansonh - 29.01.2010, 06:12
Re: textdraw help - by Sampiscool123 - 29.01.2010, 06:17
Re: textdraw help - by mansonh - 29.01.2010, 06:20

Forum Jump:


Users browsing this thread: 3 Guest(s)