SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 06/11/2009, 12:04 PM   #1
-PunisheR-
Big Clucker
 
Join Date: Jul 2009
Posts: 50
Reputation: 0
Default [Problem] Private Message Advirtising!

THANKS!
-PunisheR- is offline  
Old 06/11/2009, 12:30 PM   #2
FUNExtreme
Gangsta
 
Join Date: Mar 2008
Posts: 790
Reputation: 128
Default Re: [Problem] Private Message Advirtising!

IT tends to be spelled, IsValidText
__________________

FUNExtreme is offline  
Old 06/11/2009, 01:12 PM   #3
Mikep.
Huge Clucker
 
Join Date: Sep 2009
Posts: 465
Reputation: 0
Default Re: [Problem] Private Message Advirtising!

Indentation would be a start. Plus that code could be so much simpler.
pawn Code:
if(!IsVaildText(tmp)) return SendClientMessage(playerid,red,"Invaild Text!");
Mikep. is offline  
Old 06/11/2009, 01:33 PM   #4
-PunisheR-
Big Clucker
 
Join Date: Jul 2009
Posts: 50
Reputation: 0
Default Re: [Problem] Private Message Advirtising!

but what is the problem?
-PunisheR- is offline  
Old 06/11/2009, 01:37 PM   #5
Gergo1352
Big Clucker
 
Join Date: Oct 2007
Posts: 162
Reputation: 0
Default Re: [Problem] Private Message Advirtising!

Post the IsVaildText() funtion, something is probably wrong there.
Gergo1352 is offline  
Old 06/11/2009, 02:06 PM   #6
-PunisheR-
Big Clucker
 
Join Date: Jul 2009
Posts: 50
Reputation: 0
Default Re: [Problem] Private Message Advirtising!

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

-PunisheR- is offline  
Old 06/11/2009, 02:18 PM   #7
BlueRey
Big Clucker
 
BlueRey's Avatar
 
Join Date: Mar 2009
Location: Israel
Posts: 114
Reputation: 10
Default Re: [Problem] Private Message Advirtising!

Coward ..

anyway change the:
Code:
if(!IsVaildText(tmp)){
SendClientMessage(playerid,red,"Invaild Text!");
return false;}
to:
Code:
if(!IsVaildText(gMessage)){
SendClientMessage(playerid,red,"Invaild Text!");
return false;}
BlueRey is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP]XtremeAdmin2 Admin Private Message!!! 0.3a BlackSkull Help Archive 7 12/12/2009 02:16 PM
Private Message XeoN_13 Help Archive 20 18/10/2009 06:00 PM


All times are GMT. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.