18.02.2012, 14:26
nгo manjo de usar esse GetPVarString e nem outros desse tipo, mas testa ae:
pawn Код:
public OnPlayerText(playerid,text[])
{
new pvar[128];
GetPVarString(playerid,"UltimoTexto",pvar,sizeof(pvar));
if(!strcmp(pvar,text))
{
SendClientMessage(playerid,-1,"Palavra repetida !");
return false;
}
return true;
}