Textdraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw (
/showthread.php?tid=395419)
Textdraw -
Mustafa6155 - 26.11.2012
How make an textdraw that gets playername or loads something in the scriptfiles?
Re: Textdraw -
xDeadlyBoy - 26.11.2012
with 'format' function:
https://sampwiki.blast.hk/wiki/Format
Re: Textdraw -
Mustafa6155 - 26.11.2012
And where to put it?
Re: Textdraw -
Edvin - 26.11.2012
At your signature:
"Mapping and scripting for $$"
Why do you scripting for cash, if you don't know elementary functions...
Код:
new string[ 128 ];
new p_name[ 25 ];
GetPlayerName( playerid, p_name, sizeof( p_name) );
format( string, 128, "%s", p_name );
TextDrawSetString( TD, string );
It's a banal exemple ...