About inserting a filterscript into my GM.
#1

Hi all,
I'm trying to insert a filterscript into my gamemode, but it says that
symbol already defined: "idx"
symbol already defined: "strtok"
local variable "tmp" shadows a variable at a preceding level
& when i try to delete the-
new cmd[256];
new idx;
new tmp[256];
cmd = strtok(cmdtext, idx);
it says they are not defined, how do i fix this?
Reply
#2

I know it can be pretty hard to insert a fs into a gm sometimes.
Try renaming the string arrays for example:
new cmd2[256];
new idx2;
new tmp2[256]
cmd2= strtok(cmdtext, idx2);

I maybe wrong coz i don't know if these can be renamed or not.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)