View Single Post
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-08-2017 , 21:57   Re: Returning function through native
Reply With Quote #3

Quote:
Originally Posted by Headline View Post
PHP Code:
public Function SomeNative()
{
    return 
INVALID_FUNCTION;

Natives need to have return type of int.


@Neuro Toxin
A hack-around could be using datapacks.
__________________

Last edited by Deathknife; 08-08-2017 at 21:58.
Deathknife is offline