Gametext-Key Name in ShowPlayerDialog
#1

Hello,

I've been using Pawno allot not and written allot of own scripts and GM, but this one is just one
i can't get figured out. I need to show the name of a key like for example ~k~~PED_ANSWER_PHONE~
but instead of showing them in a Clientmessage, 3D-Text or something like that, i would like to use
the assigned key name in ShowPlayerDialog(); so i can create an complete help menu ingame.

sample:
pawn Код:
new HelpInfo[254];
format(HelpInfo, sizeof(HelpInfo), "~k~~PED_ANSWER_PHONE~ to start your vehicle");
ShowPlayerDialog(playerid, 0124, DIALOG_STYLE_MSGBOX, "Help Info", HelpInfo, "OK", "");
Does anyone know a solution for this? (Currently running SA-MP 0.3e-RC6)
If someone know a way to convert the string result to something usefull in the dialog it's also
okay, but i have to say: comments like 'just type LMB' are NOT usefull because we have allot of
players who use different configurations.

I've searched the forum allot before posting, so i'm hoping on some serious help.

Thanks in advance, and keep up the good work here.
VenomXNL
Reply
#2

Not even one person that knows how to convert the string to a usable value? or if this is even possible?

Really hope someone knows a solution,
if it's not possible it atleast is a good suggestion for the next SA-MP Release
Reply
#3

Is there really nobody that knows how this is possible?

The first real question i have and nobody has an answer haha
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)