03.02.2018, 09:07
Quote:
What if I get the player's interior and if he is in that interior then..(code here, this and that..)
Would that work? |
OnPlayerConnect,OnPlayerSpawn,OnPlayerDeath... PlayerInArena[playerid] = 0;
In command /arena1 put PlayerInArena[playerid] = 1; and in /aleave PlayerInArena[playerid] = 0;
And than instead IsPlayerInRangeOfPoint you can use if(PlayerInArena[playerid] == 1 && ...