[HELP]Script Errors,Newbie in scripting
#3

I'm sure the crashing of the server is related to the files (not permissions to write or invalid file handle).
If I'm not mistaken, the older version of dini had this issue but it was fixed later. Update the include just to be sure and have crashdetect plugin loaded to get some logs about what caused the crash. Compiling with debug info will also give a more detailed report.

As for ignoring the space, replace with:
pawn Код:
if (sscanf(params, "us[64]{s[64]}", iPlayer, Rank)) return SCP(playerid, "[PlayerID/PartOfName] [Group Name]");
Quite specifiers (wraped with { }) are ingored. The "s" specifier also needs the size specified.

EDIT: I forgot to close square bracket, replaced with {s[64]}
It still works but let keep the correct syntax anyway.
Reply


Messages In This Thread
[HELP]Script Errors,Newbie in scripting - by LondonRP - 24.08.2016, 15:32
Re: [HELP]Script Errors,Newbie in scripting - by SyS - 24.08.2016, 15:38
Re: [HELP]Script Errors,Newbie in scripting - by Konstantinos - 24.08.2016, 15:40
Re: [HELP]Script Errors,Newbie in scripting - by LondonRP - 24.08.2016, 15:41
Re: [HELP]Script Errors,Newbie in scripting - by LondonRP - 24.08.2016, 15:44
Re: [HELP]Script Errors,Newbie in scripting - by SyS - 24.08.2016, 15:49
Re: [HELP]Script Errors,Newbie in scripting - by LondonRP - 24.08.2016, 15:58
Re: [HELP]Script Errors,Newbie in scripting - by SyS - 24.08.2016, 16:08
Re: [HELP]Script Errors,Newbie in scripting - by Stinged - 24.08.2016, 16:12
Re: [HELP]Script Errors,Newbie in scripting - by LondonRP - 10.02.2017, 18:12

Forum Jump:


Users browsing this thread: 3 Guest(s)