24.10.2011, 12:21
https://sampforum.blast.hk/showthread.php?tid=270547
See ******' post.
A working example of Grim_'s code would be:
See ******' post.
A working example of Grim_'s code would be:
pawn Код:
stock NewLine(str[])
{
for (new i = 0; i < strlen(str); i++)
{
if (str[i] == '//') {
if (str[i + i] == 'n') {
strdel(str, i, i + 2);
strins(str, "\n", i, sizeof (str));
}
}
}
return 1;
}