View Single Post
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 #28

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