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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Adventurously
New Member
Join Date: Mar 2024
Old 04-02-2024 , 16:27   Re: Dynamic number of arguments in functions
Reply With Quote #1

Quote:
Originally Posted by bigdaddy424 View Post
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);

Thanks a lot
Adventurously is offline
Reply


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 13:18.


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