help strcat under ondialogresponse
#3

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
wtf?
pawn Код:
else
new str[256];
Just use 1 strcat and add option 5, 6, 7 to the first one, It should work
Same line same errors showing.


Here is the what I did

Код:
else
new str[256];
strcat(str, ""CSERVER"• "CWHITE"Wide Option 1 \n"CSERVER"• "CWHITE"Wide Option 2 \n"CSERVER"• "CWHITE"Wide Option 3 \n"CSERVER"• "CWHITE"Wide Option 3 \n"CSERVER"• "CWHITE" Wide Option 4 \n""CSERVER"• "CWHITE"Wide Option 5 \n"CSERVER"• "CWHITE"Wide Option 6 \n"CSERVER"• "CWHITE"Wide Option 7");
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ""CSERVER"Options", str, "Choose", "Close");
thanks nvm i got it.

Quote:

else
{
new str[256];
strcat(str, ""CSERVER"• "CWHITE"Reset Weapons \n"CSERVER"• "CWHITE"Melee \n"CSERVER"• "CWHITE"Pistols \n"CSERVER"• "CWHITE"Sub-Machine Guns \n"CSERVER"• "CWHITE"Rifle's \n"CSERVER"• "CWHITE"Assault \n"CSERVER"• "CWHITE"Shotgun's \n"CSERVER"• "CWHITE"Misc");
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ""CSERVER"Weapon Menu", str, "Choose", "Close");
return 1;
}

Reply


Messages In This Thread
help strcat under ondialogresponse - by kbalor - 16.10.2014, 10:40
Re: help strcat under ondialogresponse - by Rudy_ - 16.10.2014, 10:46
Re: help strcat under ondialogresponse - by kbalor - 16.10.2014, 10:52
Re: help strcat under ondialogresponse - by Rudy_ - 16.10.2014, 10:55
Re: help strcat under ondialogresponse - by kbalor - 16.10.2014, 11:02

Forum Jump:


Users browsing this thread: 1 Guest(s)