array sizes do not match, or destination array is too small
#5

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.

pawn Code:
#include "../include/gl_common.inc"

//...

new tmp[128], tmp2[128], Index; tmp = strrest(params,Index), tmp2 = strrest(params,Index);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)