strpack - problem
#1

Hello!

As the title says, I have a problem with strpack.

The thing is, I'm making an event system using dialogs.

...

So, I made a dialog to set the name for an event (inputtext), and it works like this:

pawn Код:
strpack(eName, inputtext);
And this is the code that shows the event name in a dialog:

pawn Код:
format(A, sizeof(A), "Event name: %s", eName);
ShowPlayerDialog(playerid, DIALOG_EVENT_NAME, DIALOG_STYLE_MSGBOX, "Event name", A, "Cancel", "");
PROBLEM:

Whenever I show the dialog "DIALOG_EVENT_NAME", the string doesn't show me the correct (name that was actually wrote), it shows me every fourth letter that is in the name.

For an example:

123(4)567(8) > 48

hop(e)goo(d) > ed

hid(e) > e

etc...

I don't see a problem...
Reply


Messages In This Thread
strpack - problem - by NickHaudMTA - 18.12.2014, 23:50
Re: strpack - problem - by Jefff - 19.12.2014, 01:24
Re: strpack - problem - by PowerPC603 - 19.12.2014, 08:33

Forum Jump:


Users browsing this thread: 1 Guest(s)