16.09.2011, 21:06
The text draw is already done but when i always type
/ann
and press space
its tell me unknow command help!
/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;
}

