[Problem] Private Message Advirtising! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Problem] Private Message Advirtising! (
/showthread.php?tid=106858)
[Problem] Private Message Advirtising! -
-PunisheR- - 06.11.2009
THANKS!
Re: [Problem] Private Message Advirtising! -
FUNExtreme - 06.11.2009
IT tends to be spelled, IsValidText
Re: [Problem] Private Message Advirtising! -
Mikep. - 06.11.2009
Indentation would be a start. Plus that code could be so much simpler.
pawn Код:
if(!IsVaildText(tmp)) return SendClientMessage(playerid,red,"Invaild Text!");
Re: [Problem] Private Message Advirtising! -
-PunisheR- - 06.11.2009
but what is the problem?
Re: [Problem] Private Message Advirtising! -
Gergo1352 - 06.11.2009
Post the
IsVaildText() funtion, something is probably wrong there.
Re: [Problem] Private Message Advirtising! -
-PunisheR- - 06.11.2009
i have been told you that this function is already work in OnPlayerText..
Re: [Problem] Private Message Advirtising! -
BlueRey - 06.11.2009
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;}