01.08.2017, 17:49
What if in command return -1;? so in callback if(result == -1) will do check? and why
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
if(result == -1)
{
return 0;
}
return 1;
}
Why need return 0;? is there effect anything?
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
if(result == -1)
{
return 0;
}
return 1;
}
Why need return 0;? is there effect anything?

