(irrelevant) kanto debug vazontas sta plugins debug apo dipla apo to amxx kai des an exei error
Try the default times that example provides, and general the default code. If it works change the way you handle your string...
still i believe using kardinal's approach is better
PHP Code:
#include <amxmodx>
#include <dhudmessage>
public client_putinserver(id)
{
set_task(12.0, "welcome", id, _, "a", 1)
}
public welcome(id)
{
new player_name[32]
get_user_name(id, player_name, 31)
set_dhudmessage(255, 165, 0, 0.05, 0.24, 2, 6.0, 1.0,0.0,0.1,false)
show_dhudmessage(id, "Welcome Player^n %s to Our Server^nEnjoy and Have FUN!^nGaming-Power Greek Community", player_name)
}
the only issue is that he added one more parametter.. " ,_ "
So this sould work fine
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))