17.06.2012, 08:29
strtok original code new result[20]; <-- 20 cell
new tmp[128], tmp2[128], <-- 128 cell
array size do not match tmp(128 cell) not equal result (20 cell)
Use strrest in gl_common.inc.
new tmp[128], tmp2[128], <-- 128 cell
array size do not match tmp(128 cell) not equal result (20 cell)
Use strrest in gl_common.inc.
pawn Code:
#include "../include/gl_common.inc"
//...
new tmp[128], tmp2[128], Index; tmp = strrest(params,Index), tmp2 = strrest(params,Index);