How to format a string on dialog?
#1

Hello. I was just wondering how I would format a string with dialog, I'm trying to make a new /Invite for my LSPD on my server. Just wondering how I would format it with dialog, so I could use my custom stock's with it. And it would show it correctly.
Reply
#2

Did you mean this?

pawn Код:
format(string, sizeof(string), "Blah blah %s", pname);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Caption", string, "Okay", "");
Reply
#3

Yep. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)