24.04.2012, 22:57
pawn Код:
//onplayertext
new pvar [ 128 ] ;
GetPVarString ( playerid , "UltimoTexto" , pvar , sizeof ( pvar ) ) ;
if ( strlen ( pvar ) && !strcmp ( pvar , text ) ) {
SendClientMessage ( playerid , -1 , "Pare de repetir no chat!" ) ;
return 0;
}
SetPVarString ( playerid , "UltimoTexto" , text ) ;