01.09.2015, 14:15
I think the problem lies before that in the main command
if you use zcmd it could look like that
if you use zcmd it could look like that
pawn Код:
CMD:item(playerid, params[]) {
new
command[32]
;
sscanf(params, "s[32]S()[128]", command, params);
if(strcmp(command, "put", true) == 0) {
new
id
;
if(sscanf(params, "d", id)) {
return SendClientMessage(playerid,COLOR_GREY,"/item put [id]");
}
return true
}
return SendClientMessage(playerid, COLOR_GREY, "/item [put|...]");
}