switch(Inpu[playerid])
{
case 1:{
if(!fexist(UserPath(inputtext)))// error line
{SendClientMessage(playerid,-1,"{ff0000}There is no such user");ShowMes(playerid);}
else
/*......................................*/
(8025) : error 001: expected token: "-string end-", but found "-identifier-"
(8025) : warning 215: expression has no effect
(8025) : error 001: expected token: ";", but found ")"
(8025) : error 029: invalid expression, assumed zero
(8025) : fatal error 107: too many error messages on one line
if(!fexist(UserPath(inputtext))
but found "-identifier-"
where color code ?? |
inputtext = "??"
case 0:{ShowPlayerDialog(playerid,D_InputBox,DIALOG_STYLE_INPUT,"{842DCE}Reciver","{B93B8F}Enter the name of player which you want to send the message to.","OK","Back");Inpu[playerid]=1;}
case 1:{ShowPlayerDialog(playerid,D_InputBox,DIALOG_STYLE_INPUT,"{842DCE}Subject","{B93B8F}Enter the subject of the transfer message.","OK","Back");Inpu[playerid]=2;}
case 2:{ShowPlayerDialog(playerid,D_InputBox,DIALOG_STYLE_INPUT,"{842DCE}Amount","{B93B8F}Enter the amount you want to send.","OK","Back");Inpu[playerid]=3;}
case 3:{ShowPlayerDialog(playerid,D_InputBox,DIALOG_STYLE_INPUT,"{842DCE}Details[Line 1/2]","{B93B8F}Enter some description about the message.\n\nNOTE:Maximum characters 20.","OK","Back");Inpu[playerid]=4;}
case 4:{ShowPlayerDialog(playerid,D_InputBox,DIALOG_STYLE_INPUT,"{842DCE}Details[Line 2/2]","{B93B8F}Enter some description about the message.\n\nNOTE:Maximum characters 20.","OK","Back");Inpu[playerid]=5;}
case 5:{new str[250];