09.09.2018, 12:42
What was the point of this?
Instead of a direct call to the function? You do realize that CallLocalFunction is slower than a direct call right?
And why did you do this here:
What's the point of stopping OnPlayerSpawn from processing throughout the rest of the filterscripts?
Put the iterators to use if you've already used and included foreach instead of doing this
That's just stuff over the top, it seems very crowded and i suggest using github. 3 Stars.
Code:
CallLocalFunction("OnPlayerDisconnect", "id", i, 3)
And why did you do this here:
Code:
public OnPlayerSpawn(playerid) { return 0; }
Put the iterators to use if you've already used and included foreach instead of doing this
Code:
for(new i = 0, j = GetPlayerPoolSize()+1; i < j; i++) if(IsPlayerConnected(i))