Raised This Month: $ Target: $400
 0% 

Solved define replace


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kristi
Senior Member
Join Date: Nov 2016
Old 09-09-2017 , 15:58   Re: define replace
Reply With Quote #9

@KliPPy, Yes, you are right
Code:
#define client_print(%0,%9print_chat%8,%1) color_print(%0, true, %1)
matches most of the cases
PHP Code:
    // all match
    
client_print(id,print_chat,"string")
    
client_print(idprint_chat"string")
    
client_print(idprint_chat"string");
    
client_printidprint_chat"string")
    
client_print (idprint_chat"string"
except for:
PHP Code:
client_print(id print_chat     "string"

I tested this and it matches all of the examples.
Code:
#define client_print(%0print_chat%1) color_print(%0true%1)
code

Last edited by kristi; 09-09-2017 at 16:58.
kristi is offline
Send a message via Skype™ to kristi
 


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

Forum Jump


All times are GMT -4. The time now is 09:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode