This should work:
You forgot the [] since the argument is a string
Code:
public myfunction(id)
{
ShowHudmessage(id, "my hudmessage")
}
public ShowHudmessage(id, hudmessage[])
{
set_hudmessage(225, 0, 0, -1.0, 0.3, 0, 0.25, 3.0, 0.0, 0.0, -1)
show_hudmessage(id, hudmessage)
}
Note that this is Amxmodx version 1.61 and higher only!
__________________