SA-MP Forums Archive
HELP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP (/showthread.php?tid=283819)



HELP - [MKD]Max - 16.09.2011

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



Re: HELP - Davz*|*Criss - 16.09.2011

I suggest you to use Zcmd its quite better.