This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Dynamic number of arguments in functions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-01-2024 , 16:10   Re: Dynamic number of arguments in functions
Reply With Quote #29

PHP Code:
stock ColorChat(index, const message[], any:...) {
    new 
Message[191];
    
vformat(Message190message3);
    
    
replace_all(Message190"!g""^4");
    
replace_all(Message190"!y""^1");
    
replace_all(Message190"!t""^3");
    
    
client_print_color(index0Message);

__________________
bigdaddy424 is offline
 



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 23:17.


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