[Problem] Private Message Advirtising!
#1

THANKS!
Reply
#2

IT tends to be spelled, IsValidText
Reply
#3

Indentation would be a start. Plus that code could be so much simpler.
pawn Код:
if(!IsVaildText(tmp)) return SendClientMessage(playerid,red,"Invaild Text!");
Reply
#4

but what is the problem?
Reply
#5

Post the IsVaildText() funtion, something is probably wrong there.
Reply
#6

i have been told you that this function is already work in OnPlayerText..

Reply
#7

Coward ..

anyway change the:
Код:
if(!IsVaildText(tmp)){
SendClientMessage(playerid,red,"Invaild Text!");
return false;}
to:
Код:
if(!IsVaildText(gMessage)){
SendClientMessage(playerid,red,"Invaild Text!");
return false;}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)