OnPlayerClickPlayer Help +Reps
#6

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/

pawn Код:
#include <a_samp>


main() {
    printf("Return Value: %i", Test());

}

Test()
{
    new a;
    a += 10;
}
Output
Return Value: 0
Reply


Messages In This Thread
OnPlayerClickPlayer Help +Reps - by MahdiGames - 10.01.2014, 21:32
Re: OnPlayerClickPlayer Help +Reps - by Pottus - 10.01.2014, 21:41
Re: OnPlayerClickPlayer Help +Reps - by MahdiGames - 10.01.2014, 21:51
Re: OnPlayerClickPlayer Help +Reps - by BlackBank - 10.01.2014, 21:56
Re: OnPlayerClickPlayer Help +Reps - by MahdiGames - 10.01.2014, 22:01
Re: OnPlayerClickPlayer Help +Reps - by Pottus - 11.01.2014, 12:19

Forum Jump:


Users browsing this thread: 1 Guest(s)