[Ajuda] Comando "@" "!", etc
#5

Wallon Tentei Mais Deu 4 Erros Mano

Abaixo Meu Chat Admin

Quote:

if(!strcmp("/@", cmdtext, true, 2))
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,Vermelho,"Vocк nгo й um Admin Rcon !");
new foco[128], text[128], nick[128];
foco = KcmD(1, cmdtext);
if((strlen(foco) << 2) == 0) return SendClientMessage(playerid,Vermelho,"Digite /@ [texto]");
GetPlayerName(playerid,nick,sizeof(nick));
format(text,sizeof(text),"[AdminChat] %s diz: %s", nick, foco);
for(new x = 0; x != MAX_PLAYERS; x++)
{
if(IsPlayerAdmin(x))
{
SendClientMessage(x, 0xFFFFFFAA, text);
}
}
return true;
}

Sera Que Sabe Trocar o:

if(!strcmp("/@", cmdtext, true, 2))

Para Um Comando SOZINHO "@"
Reply


Messages In This Thread
[Ajuda] Comando "@" "!", etc - by [Red]Maninho - 08.07.2011, 16:32
Re: [Ajuda] Comando "@" "!", etc - by Josma_cmd - 08.07.2011, 16:53
Re: [Ajuda] Comando "@" "!", etc - by wallon - 08.07.2011, 16:54
Re: [Ajuda] Comando "@" "!", etc - by Shadoww5 - 08.07.2011, 17:08
Respuesta: [Ajuda] Comando "@" "!", etc - by [Red]Maninho - 08.07.2011, 17:13
Re: [Ajuda] Comando "@" "!", etc - by Josma_cmd - 08.07.2011, 17:15
Re: [Ajuda] Comando "@" "!", etc - by rjjj - 08.07.2011, 17:19
Respuesta: [Ajuda] Comando "@" "!", etc - by [Red]Maninho - 08.07.2011, 17:35

Forum Jump:


Users browsing this thread: 8 Guest(s)