27.04.2013, 15:55
Not sure if this will cause a crash but I've found a problem in the first few lines:
Also, string2 seems to never be used unless I'm just missing it and all your strings are pretty big. 128 should be a perfect length for all of them since that is the max the SA:MP client can show in one line.
PHP код:
new Target;
new Reason[128];
new string2[250];
if(!sscanf(params, "u[24]s[250]",Target, Reason)) //You have "s" set to a length of 250 but Reason is only 128. So you need to change s[250 to s[128]. Also, "u" does not need a length. Just do "us[128]"