[HELP]How to made
#3

Sure...you do sth like this:

PHP код:
//@top of the script
new sniperCounter,bool:inSniper[MAX_PLAYERS char];
//If the player enters the sniper Arena
if(!inSniper{playerid})
{
    
sniperCounter++;
    
inSniper{playerid} = true;
}
//If the player leaves the sniper
sniperCounter--;
inSniper{playerid} = false;
//If the player disconnects
if(inSniper{playerid})
{
    
sniperCounter--;
    
inSniper{playerid} = false;
}
//And the value of sniperCounter = the player amount who are there 
Reply


Messages In This Thread
[HELP]How to made - by Hunud - 23.07.2016, 18:27
Re: [HELP]How to made - by K0P - 23.07.2016, 18:47
Re: [HELP]How to made - by Kaliber - 23.07.2016, 18:48
Re: [HELP]How to made - by Hunud - 23.07.2016, 18:58
Re: [HELP]How to made - by FuNkYTheGreat - 23.07.2016, 19:04
Re: [HELP]How to made - by Stinged - 23.07.2016, 19:07

Forum Jump:


Users browsing this thread: 2 Guest(s)