Yeah sure they are not related. I couldn't find the information what pawn return by default if you have no explicit return in your function. To illustrate my thoughts (assuming no return would be NULL and the constants would represent strings rather than integers):
PHP Code:
# the caller (amx)
result = callback()
if (result == "success")
continue_event
else if (result == "handled")
block_event
else i_dont_know
I guess an empty function is the same as return 0 so I only HAVE TO return something if I want to stop something, am I right? Or is it the case that depending on what you handle you HAVE TO return either one or nothing?
Thank you very much so far!
__________________