Need help! How to format Dialogs! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help! How to format Dialogs! (
/showthread.php?tid=190149)
Need help! How to format Dialogs! -
[WSF]ThA_Devil - 14.11.2010
i need help!
pawn Код:
new string[64];
format(string, sizeof(string), "ERROR!","Error 173! /nYou can't use %s dm! ","KillMe!","Cancel", cmdtext);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX, string); // warning line!
but!
Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
what i have to do
?
Re: Need help! How to format Dialogs! -
iJumbo - 14.11.2010
pawn Код:
format(string, sizeof(string),"Error 173! /nYou can't use %s dm!",cmdtext);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"!!!ERROR!!!",string,"KillMe!","Cancel");
Re: Need help! How to format Dialogs! -
[WSF]ThA_Devil - 14.11.2010
thanks i ll try that!
Re: Need help! How to format Dialogs! -
pater - 14.11.2010
pawn Код:
format(string, sizeof(string), "Error 173! /nYou can't use %s dm! ", cmdtext);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX, "ERROR!", string, "KillMe!", "Cancel" );
Here you go.
Re: Need help! How to format Dialogs! -
iJumbo - 14.11.2010
-_- look at my post is the same xD
Re: Need help! How to format Dialogs! -
pater - 14.11.2010
haha yes but you changed it haha
Re: Need help! How to format Dialogs! -
iJumbo - 14.11.2010
eh? you are not ok xD