View Single Post
Adventurously
New Member
Join Date: Mar 2024
Old 04-02-2024 , 16:27   Re: Dynamic number of arguments in functions
Reply With Quote #29

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