SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/01/2012, 03:06 AM   #1
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 577
Reputation: 12
Default Custom textdraw strings for players

I forgot, how do i make a textdraw that can be set specific for each player?
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive is offline   Reply With Quote
Old 15/01/2012, 03:08 AM   #2
coole210
Gangsta
 
Join Date: Jul 2008
Location: Canada
Posts: 995
Reputation: 84
Default Re: Custom textdraw strings for players

pawn Code:
new Text:name[MAX_PLAYERS];
OnPlayerConnect:

TextDrawCreate(name[playerid],blabla);
TextDrawShowForPlayer(playerid,name[playerid]);
OnPlayerDisconnect:

TextDrawHideForPlayer(playerid,name[playerid]);
TextDrawDestroy(name[playerid]);
coole210 is offline   Reply With Quote
Old 15/01/2012, 03:09 AM   #3
Rokzlive
Gangsta
 
Rokzlive's Avatar
 
Join Date: Aug 2010
Location: Winder, GA USA
Posts: 577
Reputation: 12
Default Re: Custom textdraw strings for players

Lol yeah i just remembered how when i saw this, thanks though
__________________
================================
Nickolas C Shaffer
Hobbiest Pawn Coder
================================
Rokzlive 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
Custom radio for all players? Gemini Help Archive 2 21/07/2011 12:45 PM


All times are GMT. The time now is 10:34 AM.


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