13.01.2014, 15:01
tenta so assim:
pawn Код:
if(strcmp(cmdtext,"/cnn",true))
{
if(!IsPlayerAdmin(playerid))
return SendClientMessage(playerid,-1,"[ERRO]: Vocк nгo tem permissгo");
new cnntextpt[80], str[128];
if(sscanf(cmdtext, "s[80]", cnntextpt))
return SendClientMessage(playerid, -1, "uso: /cnn [texto]");
GetPlayerName(playerid,str,sizeof(str));
format(str, sizeof(str), "~y~%s: ~w~%s", str, cmdtext[5]);
TextDrawSetString(CNN, str);
TextDrawShowForAll(CNN);
SetTimer("apagarcnn",5000,false);
return 1;
}