23.09.2011, 06:46
TheKiller i try to do that with your creategroup command but its not work
Код:
if(strcmp(cmdtext, "/creategroup", true) == 0) { tmp = strtok(cmdtext, idx); if(group[playerid][gid] != -1) return SendClientMessage(playerid, 0xFF0000, "Leave your group with {FFFFFF}/leavegroup{FF0000} before creating a new one!"); if(strlen(tmp) > 49 || strlen(tmp) < 3) return SendClientMessage(playerid, 0xFF0000, "Usage: {FFFFFF}/creategroup{FF0000} (Group name 3-50 characters)!"); if(IsGroupTaken(tmp)) return SendClientMessage(playerid, 0xFF0000, "Group name is already in use!"); CreateGroup(tmp, playerid); return 1; }