06.10.2013, 11:41
Hello Everyone,
Today I tried to change my gamemode commands from ZCMD to YCMD but on a strange way a couple of commands are bugging, I'll post one of them because they're giving the same error, guess If I have for one the solution I'll have them all fixed...
The line:
Links trough:
Does anyone knows what the problem is?
Today I tried to change my gamemode commands from ZCMD to YCMD but on a strange way a couple of commands are bugging, I'll post one of them because they're giving the same error, guess If I have for one the solution I'll have them all fixed...
Quote:
error 017: undefined symbol "cmd_groupcreate" |
PHP код:
YCMD:grc(playerid,params[], help)
return cmd_groupcreate(playerid, params);
PHP код:
YCMD:groupcreate(playerid,params[], help)
{
if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000AA, "* Leave your group with /groupleave before creating a new one!");
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid, 0xFF7300AA, "* Usage: /groupcreate (Group name 3-50 characters)!");
if(IsGroupTaken(params)) return SendClientMessage(playerid, 0xFF0000AA, "* Group name is already in use, please use another name!");
CreateGroup(params, playerid);
return 1;
}