28.11.2014, 10:06
It depends on where do you wanna show these information..
- If you wanna show it in a Dialog, use "\n" to make a new line.
- If you wanna show it as a textdraw, use "~n~".
Example:
- If you wanna show it in a Dialog, use "\n" to make a new line.
- If you wanna show it as a textdraw, use "~n~".
Example:
pawn Code:
format(string,sizeof(string),"ItemData(idx[%d]\nName[%s]\nInfo[%s]\n ....", item_idx, Item[item_idx][Name], Item[item_idx][Info]);
ShowPlayerDialog(playerid, DIALOGNAME, DIALOG_STYLE_MSGBOX,"Title",string,"OK");