DIALOG_STYLE_MSGBOX help.
#9

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Do you guys even know how format works? You should avoid it if it's unnecessary... especially in an extremely obvious case like this...

pawn Код:
new szString[700];
strcat(szString, "/rules /faq /(net)stats /inventory /quickstats /myguns /buylevel /upgrade /changepass /killcheckpoint /resetupgrades(100k)");
strcat(szString, "\n/w(hisper) /o(oc) /s(hout) /l(ow) /b /ad(vertisement)s /f(amily) /me /togooc /tognews /togfam /togwhisper /do /cancelcall");
strcat(szString, "\n/balance /withdraw /deposit /wiretransfer /abalance /awithdraw /adeposit /awiretransfer");
strcat(szString, "\n/pay /writecheck /cashchecks /charity /time /buy /(check)id /music /showlicenses /clothes /mywarrants");
strcat(szString, "\n/apply /skill /stopani /kill /buyclothes /droplicense /calculate /refuel /car /seatbelt /checkbelt, /defendtime");
strcat(szString, "\n/cancel /accept /eject /usepot /usecrack /contract /service /families /joinevent /checkplant /nextpaycheck, /nextgift, /pointtime");
strcat(szString, "\n/speedo /speedopos /viewmotd");
ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Basic commands", szString, "Ok", "");
Read the goddamn wiki before posting shit like this...
You should have said what to use in replacement and not just yell out that it's wrong..

To OP, use strcat, it does just as you want.
Reply


Messages In This Thread
DIALOG_STYLE_MSGBOX help. - by N0FeaR - 18.12.2015, 12:54
Re: DIALOG_STYLE_MSGBOX help. - by Sh4d0w2 - 18.12.2015, 13:06
Re: DIALOG_STYLE_MSGBOX help. - by N0FeaR - 18.12.2015, 13:11
Re: DIALOG_STYLE_MSGBOX help. - by Sh4d0w2 - 18.12.2015, 13:15
Re: DIALOG_STYLE_MSGBOX help. - by iKarim - 18.12.2015, 14:51
Re: DIALOG_STYLE_MSGBOX help. - by SilverStand - 18.12.2015, 15:17
Re: DIALOG_STYLE_MSGBOX help. - by Threshold - 18.12.2015, 16:10
Re: DIALOG_STYLE_MSGBOX help. - by ikey07 - 18.12.2015, 16:41
Re: DIALOG_STYLE_MSGBOX help. - by Ahmad45123 - 18.12.2015, 16:42
Re: DIALOG_STYLE_MSGBOX help. - by Threshold - 19.12.2015, 06:32

Forum Jump:


Users browsing this thread: 1 Guest(s)