11.01.2014, 12:19
That callback does not need to be returned where did you get that idea? In fact only a few callbacks actually require some kind of return such as OnPlayerUpdate() or OnPlayerCommandText() if a function or callback has no return it automatically will return 0 try it yourself.
Run this code here http://slice-vps.nl:7070/
Output
Return Value: 0
Run this code here http://slice-vps.nl:7070/
pawn Код:
#include <a_samp>
main() {
printf("Return Value: %i", Test());
}
Test()
{
new a;
a += 10;
}
Return Value: 0

