SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/03/2012, 11:12 AM   #1
BlackID
Big Clucker
 
Join Date: Dec 2011
Location: Indonesia
Posts: 60
Reputation: 1
Default Text draw help

can anybody help me with custom string on textdraw like in

pawn Code:
new string[128], playerid;
format(string,sizeof(string),"ID:%i",playerid);

but i would like this to be shown in textdraw not in SendClientMessage

i already tried all i can do, but i still can't make it, so if anyone could help me, i would really appriciate it

sorry, for my bad english
BlackID is offline   Reply With Quote
Old 11/03/2012, 04:29 PM   #2
BlackID
Big Clucker
 
Join Date: Dec 2011
Location: Indonesia
Posts: 60
Reputation: 1
Default Re: Text draw help

will somebody answer? i really need this fast
BlackID is offline   Reply With Quote
Old 11/03/2012, 04:34 PM   #3
!LukniS!
Little Clucker
 
Join Date: Dec 2011
Posts: 25
Reputation: 4
Default Re: Text draw help

Use:
GameTextForPlayer
TextDrawShowForPlayer and TextDrawSetString
!LukniS! is offline   Reply With Quote
Old 11/03/2012, 04:43 PM   #4
BlackID
Big Clucker
 
Join Date: Dec 2011
Location: Indonesia
Posts: 60
Reputation: 1
Default Re: Text draw help

could you give me an example?
BlackID is offline   Reply With Quote
Old 11/03/2012, 04:48 PM   #5
!LukniS!
Little Clucker
 
Join Date: Dec 2011
Posts: 25
Reputation: 4
Default Re: Text draw help

Code:
new string[128], playerid;
format(string,sizeof(string),"ID:%i",playerid);
TextDrawCreate(TextDraw, 0, 0, "");
TextDrawSetString(TextDraw, string);
!LukniS! is offline   Reply With Quote
Old 11/03/2012, 05:00 PM   #6
BlackID
Big Clucker
 
Join Date: Dec 2011
Location: Indonesia
Posts: 60
Reputation: 1
Default Re: Text draw help

thanks +rep
BlackID is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
text draw help please DaRkAnGeL[NBK] Scripting Help 1 21/10/2011 10:32 PM
Text Draw help shady001 Scripting Help 3 18/10/2011 05:59 PM
[HELP]text draw bboytimix Server Support 0 05/03/2011 01:28 PM
[DUV] Text Draw victorxd12 PortuguÍs/Portuguese 0 05/02/2010 10:33 PM
Text Draw [HELP] gytisx Help Archive 10 27/06/2009 11:09 AM


All times are GMT. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.