01.12.2015, 00:47
Hello. I have the following code:
error 035: argument type mismatch (argument 1)
line: marked in red
Код:
CMD:create(playerid,params[]) { if(!sscanf(params, "s[12]s[12]", params[0],params[1])) { new File:INI = fopen(params[0],io_readwrite); if(!fexist(INI)) { if(INI) { fwrite(INI, params[1]); } } } else { SendClientMessage(playerid, -1, "use /create [name] [content]"); } return 1; }
line: marked in red