Ajuda com comando
#6

pawn Код:
if(strcmp("/fakechat", cmdtext, true, 9)== 0)
{
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
new escolherid[256];
new mensagem[256];
escolherid = KcmD(1, cmdtext);
mensagem = KcmD(2, cmdtext);
new loco[128];
if(!strlen(escolherid))
{
SendClientMessage(playerid,cor_aqui,"USE: /fakechat [id] [texto]");
return 1;
}
if(!strlen(mensagem))
{
SendClientMessage(playerid,cor_aqui,"USE: /fakechat [id] [texto]");
return 1;
}
format(loco,sizeof(loco),"ID:%d %s Diz: %s",playerid,sendername,mensagem);
SendClientMessage(strval(escolherid),cor_aqui,loco);
return 1;
}
Reply


Messages In This Thread
Ajuda com comando - by [GET]Vidaloka - 12.01.2011, 19:02
Re: Ajuda com comando - by -GooGle- - 12.01.2011, 19:25
Re: Ajuda com comando - by [GET]Vidaloka - 12.01.2011, 19:35
Re: Ajuda com comando - by Gustavob - 12.01.2011, 19:45
Re: Ajuda com comando - by [GET]Vidaloka - 12.01.2011, 19:50
Re: Ajuda com comando - by -GooGle- - 12.01.2011, 19:51
Re: Ajuda com comando - by [GET]Vidaloka - 12.01.2011, 20:11
Re: Ajuda com comando - by -GooGle- - 12.01.2011, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)