03.06.2011, 21:06
Look i'm trying to make an /help dialog ( lol ) but if i do i've got an overload of errors look i've got this on OnDialogResponse:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
}
if(dialogid == 1234)
{
if(response == 1)
{
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX ,"lala, lala, lala","Confirm","Cancel");
And This Under if(strcmp(cmd, "/help", true) == 0)
{ : ShowPlayerDialog(playerid,1234,DIALOG_STYLE_LIST," Help","Account\nGeneral\nChat\nToggle\nBank\nJob\n Faction\nFamily\nAdmin\nOther\nBusiness","Print"," Cancel");
Help Please
Spaces are different now
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
}
if(dialogid == 1234)
{
if(response == 1)
{
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX ,"lala, lala, lala","Confirm","Cancel");
And This Under if(strcmp(cmd, "/help", true) == 0)
{ : ShowPlayerDialog(playerid,1234,DIALOG_STYLE_LIST," Help","Account\nGeneral\nChat\nToggle\nBank\nJob\n Faction\nFamily\nAdmin\nOther\nBusiness","Print"," Cancel");
Help Please
Spaces are different now