21.12.2017, 15:05
Quote:
If you already use sscanf, you can make
/update [add, edit, etc.] rather than /editupdate /addupdate Why are you using PVars? What if I use "UID" PVar in my gamemode, that'd mean that your filterscript would overwrite my PVars Код:
new str[256]; Код:
format(tmp4, sizeof(tmp4), "Updates\tDate Of Update\n%s", tmp3); Код:
format(s, sizeof(s), "update%d", x); Format would just be slower for such simple task. Код:
h[256] Код:
%d/%d/%d You have 245 wasted cells Код:
for(new x=1 ; x<560 ; x++) { new s[256]; I've noticed that you haven't stated max. length of string for an update line to be? |
Thank you for telling my mistakes i will try to improve it.