23.06.2014, 00:13
Well, I asked my friend for some help in scripting a whatsnew command as I'm still a newbie in PAWNO.
He's on vacation and I can't reach him. I was wondering if someone could help me and fix this script, thanks..
Basic information regarding it:
This command is supposed to display a window, with a list of everything that has been updated recently.
However, it appears like this:
Script:
Thanks in advance!
He's on vacation and I can't reach him. I was wondering if someone could help me and fix this script, thanks..
Basic information regarding it:
This command is supposed to display a window, with a list of everything that has been updated recently.
However, it appears like this:
Script:
PHP код:
COMMAND:whatsnew(playerid, params[])
{
new watsnew[ 128 ];
strcat(watsnew, "{89ca25}==============================================================\n");
strcat(watsnew, "Test | The latest changes on the server | San Andreas\n");
strcat(watsnew, "==============================================================\n");
strcat(watsnew, "{ffffff}- TEST.\n\
- TEST.\n\
- TEST.)\n\
- TEST.\n\
- TEST.\n\
- TEST.\n\
- TEST.\n\
- TEST.\n");
strcat(watsnew, " -TEST.\n");
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "Test: Latest updates",watsnew, "Ok", "");