Quote:
Originally Posted by siriusmd99
Thanks for the info, didn't know it has such cool thing...
Also, Killer. It is possible.. I didn't read attentively...
If you want to use only your stock than it's simple.
Just go do amxmodx.inc from includes folder, find line
native client_print (blabla...)
and add double slash to comment it //
So it won't be used by compiller and won't throw error after you add your define.
So yes, it's possible, but only in case you are planning to use only your stock, without native client_print.
|
This compiles fine so I guess you don't need to do that.
PHP Code:
#include <amxmodx>
#define client_print(%1,print_chat,%2) color_print(%1, true, %2) // this is my custom stock
public client_putinserver(id)
{
client_print(id, print_chat, "Hello, World!")
}
stock color_print(const id, const bool:x, const msg[]) {}