[AJUDA] O cara fala uma PALAVRA* e...le aki - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] O cara fala uma PALAVRA* e...le aki (
/showthread.php?tid=340767)
[AJUDA] O cara fala uma PALAVRA* e...le aki -
jonathan_agv - 08.05.2012
Eu queria saber se tem como a pessoa ser kickada com que ela fala...Exemplo: adm filha da puta, adm noob,adm cotoco... tem como? e.e pq colega meu pego mania de falar CHULISPA ai toda vez que ele falar vai ser kickado rsrs pf pf me ajudem aew
Re: [AJUDA] O cara fala uma PALAVRA* e...le aki -
CidadeNovaRP - 08.05.2012
Ta ae:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(!strcmp(text, "Frase qeu vai Kikar se falar :P", true))
{
Kick(playerid);
return 0;
}
return 1;
}
Re: [AJUDA] O cara fala uma PALAVRA* e...le aki -
Smith. - 08.05.2012
Tenta ai
em
pawn Код:
//OnPlayerText(playerid, text[])
pawn Код:
if(strfind(text, "CHULISPA", true) != -1 || strfind(text, "adm noob", true) != -1)
{
new nome[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
format(string, sizeof(string), "O jogador %s foi kickado por chingar", nome);
SendClientMessageToAll(0xFF0000AA, string);
Kick(playerid);
return 0;
}
Re: [AJUDA] O cara fala uma PALAVRA* e...le aki -
jonathan_agv - 08.05.2012
VALEU REP PRA TODOS ^~^ agora vo testa
Re: [AJUDA] O cara fala uma PALAVRA* e...le aki -
CidadeNovaRP - 08.05.2012
Desculpe um CODE, esqueci do "!"

, ta ae:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(!strcmp(text, "Frase qeu vai Kikar se falar :P", true))
{
Kick(playerid);
return 0;
}
return 1;
}