Hey there!
I made an SayHook:
PHP Code:
public SayHook()
{
new client = read_data(1);
new message[128];
read_data(4, message, 128);
if(Cool[client])
{
}
}
Now I need to change some letters. [Lets say that I want to change any A in the hook to B]
I have no idea how it works on AMX Mod X. Only in SourceMod.
Thanks!
Edit: Found myself
PHP Code:
replace(message, 128, "a", "b");
__________________