[HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
Hello,
I just made Textdraws for Character Editor at registering, but i don't know how to make it work.
This is how it looks:
|Please don't steal the idea|
Anyway, im a bit stucked now. Do you see the text that says "Gender:" ? Well, how i can make something like if is player on that textdraw (I mean if that textdraw is selected) player can switch between Male and Female using Left and Right arrows? Can anyone help? How i can check then what did the player selected? Thanks.
PS: What you think about the textdraw? Its not finished anyway.
Re: [HELP] Textdraw Problem -
Backwardsman97 - 18.12.2011
Looks pretty cool. As for the rest, I would create one timer that's repeating and use it as sort of a master loop. Then you can create variables to keep up with their status.
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
I thought public OnPlayerUpdate(playerid) will do it just fine, but i don't know how.
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
Can anyone help me really?
Re: [HELP] Textdraw Problem -
spd_sahil - 18.12.2011
so basically u want to use the text draw to browse throgh categories ? cant think of ajything but will try something and tell uou
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
@spd_sahil
Yes, and thanks. I'd appreciate any help you can give me.
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
I updated the textdraw, and tried on my own to make it works, but i failed.
Here's how it looks now:

This is the code i used:
PHP код:
new Text:Textdraw628;
PHP код:
Textdraw628 = TextDrawCreate(48.000000, 141.000000, "Nick Name");
TextDrawBackgroundColor(Textdraw628, 255);
TextDrawFont(Textdraw628, 2);
TextDrawLetterSize(Textdraw628, 0.189999, 0.899999);
TextDrawColor(Textdraw628, -1);
TextDrawSetOutline(Textdraw628, 1);
TextDrawSetProportional(Textdraw628, 1);
And under my stock:
PHP код:
new newtext[41], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(newtext, sizeof(newtext), "%s", name);
TextDrawSetString(Textdraw628, newtext);
As you can see the Name: is just blank..
-EDIT- Fixed, i forgot to add TextDrawShowForPlayer under my stock. Anyway, i still dont know how to make the TextDrawSetString work with Left and Right Keys.
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 18.12.2011
*bump*
Re: [HELP] Textdraw Problem -
Mrki_Drakula - 19.12.2011
C'mon help me.
Re: [HELP] Textdraw Problem -
§с†¶e®РµРe - 21.12.2011
IDK how to make it work but whatever your textdraw is SEXY!!