16.05.2011, 18:28
thanks for the anwser Jantjuh but is the same ._. haha
yes ****** im using your library (which is amazing by the way)
****** forgive i dont understand how to use Text_DoNL (string []) this returns a string or somethig, or just call it?
on top of the script
its okay?? xd
----------------------------------------------------------------------------------
Edit works now, ignore this message haha thanks again ******
yes ****** im using your library (which is amazing by the way)
****** forgive i dont understand how to use Text_DoNL (string []) this returns a string or somethig, or just call it?
on top of the script
pawn Код:
stock Text_DoNL(string[])
{
for (new i = 0, j = strlen (string); i != j; ++i)
{
if (string[i] == '\\' && string[i + 1] == 'n') string[i] = '\r', string[i + 1] = '\n';
}
}
pawn Код:
ShowPlayerDialog(playerid, WEAPSMENU, DIALOG_STYLE_LIST, Text_GetPlayerText("WEAPSINFO",playerid), Text_DoNL(Text_GetPlayerText("WEAPSSLOTS",playerid)), "Ok", "Esc");
----------------------------------------------------------------------------------
Edit works now, ignore this message haha thanks again ******