08.05.2012, 12:01
Quote:
Try this,not tested
Код:
for(new i = 0; i < MAX_TEXT_DRAWS; i++) TextDrawHideForPlayer(playerid, Text:i); |
You just have to keep a list of the textdraws you have.
Something like... (From my mode)
pawn Код:
/*
Available Textdraws:
literaltextdrawname, [ DESCRIPTION ] ((clickable?))
startup1, [ LOGIN ] (clickable)
startup2, [ REGISTER ] (clickable)
startup3, [ BOX ]
startup4, [ PLAYER COUNT ]
startup5, [ INFORMATION ]
news1, [ WELCOME ]
news2, [ ACTUAL NEWS ]
news3, [ NEWS BOX ]
XPLVL[playerid][0-5], [ XP METER ]
XPLevelUp, [ Show "LEVEL UP!" above the XP meter ]
Available Dialogs:
DIALOG_BLANK - Possible uses: Notifications, messages not requiring a response.
DIALOG_REGISTER - Registration dialog. Shouldn't have to add this / delete this anywhere in the script.
DIALOG_LOGIN - Login dialog. Possible uses: Temporary logout?
DIALOG_STATS - Statistics dialog.
*/