Help With This
#3

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;
	}
Reply


Messages In This Thread
Help With This - by [MKD]Max - 23.09.2011, 06:03
Re: Help With This - by [HiC]TheKiller - 23.09.2011, 06:08
Re: Help With This - by [MKD]Max - 23.09.2011, 06:46
Re: Help With This - by [MKD]Max - 23.09.2011, 07:05

Forum Jump:


Users browsing this thread: 1 Guest(s)