Thread: [Solved] define replace
View Single Post
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 09-09-2017 , 14:13   Re: define replace
Reply With Quote #3

It's a good idea actually but compiler will throw you a error "already defined"

Because there is client_print already defined as native.
You can actually modify some symbols like replacing client_print with clientprint.

Something like

#define clientprint(%1, 0, %2) ColorChat(%1, GREEN, %2)

But I am not sure you can do here" any:" parameter so you can format the string inside the function call.

Last edited by siriusmd99; 09-09-2017 at 14:13.
siriusmd99 is offline