Disabling commands.
#7

Quote:
Originally Posted by ivndosos
Посмотреть сообщение
What if I get the player's interior and if he is in that interior then..(code here, this and that..)

Would that work?
new PlayerInArena[MAX_PLAYERS];

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 && ...
Reply


Messages In This Thread
Disabling commands. - by ivndosos - 03.02.2018, 07:58
Re: Disabling commands. - by OptimusBloodHunter - 03.02.2018, 08:26
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 08:30
Re: Disabling commands. - by ivndosos - 03.02.2018, 09:01
Re: Disabling commands. - by rfr - 03.02.2018, 09:05
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 09:06
Re: Disabling commands. - by OptimusBloodHunter - 03.02.2018, 09:07
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 09:08
Re: Disabling commands. - by ivndosos - 03.02.2018, 09:14
Re: Disabling commands. - by PepsiCola23 - 03.02.2018, 11:49

Forum Jump:


Users browsing this thread: 4 Guest(s)