#1

The text draw is already done but when i always type

/ann

and press space


its tell me unknow command help!

Код:
	if(strcmp(cmdtext, "/ann", true) == 0 && PlayerAdminLevel[playerid] >= 1)
	{
	tmp = strtok(cmdtext, idx);
	if(strlen(cmdtext) <= 4){
	SendClientMessage(playerid,COLOR_ERROR,"USAGE: /ann (text)");
	return 1;
	}
	TextDrawSetString(Ann,cmdtext);
	TextDrawShowForAll(Ann);
	SetTimer("AnnHide",5000,0);
	return 1;
	}
Reply
#2

I suggest you to use Zcmd its quite better.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)