02.02.2016, 18:45
It's possible to pass variable by reference to callback?
I would like to do something like this to call a callback from plugin, and get them after function call.
public OnPlayerDoSomething(playerid ¶m1, ¶m2, ¶m3)
{
if(param1 > 10) param1 = 15;
param2 = 0;
return 1;
}
I would like to do something like this to call a callback from plugin, and get them after function call.
public OnPlayerDoSomething(playerid ¶m1, ¶m2, ¶m3)
{
if(param1 > 10) param1 = 15;
param2 = 0;
return 1;
}