14.03.2010, 09:39
Hey guys. I'm using a /help dialog.
if (strcmp("/help", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,13,DIALOG_STYLE_MSGBOX," Help","Wanna continue to the help system?","Yes","No");
return 1;
}
NO errors or something.
But when I do /help the dialog shows up. but when I click on yes nothing happens. THe dialog dissapears but no sendclientmessage to seee
Please help
if (strcmp("/help", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,13,DIALOG_STYLE_MSGBOX," Help","Wanna continue to the help system?","Yes","No");
return 1;
}
Код:
if(dialogid == 13) { if(response == 1) { SendClientMessage(playerid, 0x33AA33AA, "/kill"); } if(response == 0) { SendClientMessage(playerid, 0x33AA33AA, "You canceled. Was it a mistake? /help"); return 1; } }
But when I do /help the dialog shows up. but when I click on yes nothing happens. THe dialog dissapears but no sendclientmessage to seee
Please help