How can i create a command with three space???
#1

Example:

Код:
COMMAND:gang(playerid,params[],option[])
{
    if(!strcmp(params, "create", true))
	{
	  	if(gang[playerid][gid] != -1) return SendClientMessage(playerid,COLOR_GREEN, "[GANG]:{FFFFFF}Leave your gang with /gangleave before creating a new one!");
	  	if(strlen(option) > 49 || strlen(option) < 3) return SendClientMessage(playerid, COLOR_GREEN, "[GANG]:{FFFFFF} /gangcreate (GANG NAME)");
		if(IsgangTaken(option)) return SendClientMessage(playerid, COLOR_GREEN, "[GANG]:{FFFFFF}gang name is already in use!");
		Creategang(option, playerid);
  		return 1;
	}
	return 1;
}
I didn't get any error but it doesn't works.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)