Need help! How to format Dialogs!
#1

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?
Reply
#2

pawn Код:
format(string, sizeof(string),"Error 173! /nYou can't use %s dm!",cmdtext);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"!!!ERROR!!!",string,"KillMe!","Cancel");
Reply
#3

thanks i ll try that!
Reply
#4

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.
Reply
#5

-_- look at my post is the same xD
Reply
#6

haha yes but you changed it haha
Reply
#7

eh? you are not ok xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)