Get ID with PlayerInfo
#9

Then you can make it like this.

Код:
if(idnomoff[param1] > 10000 && CagouleUse[param1] == 1)
{
    new i=getInconnuID(idnomoff[param1]);
    Kick(i);
}
I found my mistake in getInconnuID function, fixed it.

Код:
stock getInconnuID(inconnueID)
{
    for(i = MIN_PLAYERID; i < MAX_PLAYERS_CURRENT+1; i++)
		{
			if(inconnuID == idnomoff[i])
			{
 				return i;
			}
		}
    }
Reply


Messages In This Thread
Get ID with PlayerInfo - by introx - 29.01.2016, 08:47
Re: Get ID with PlayerInfo - by Tamy - 29.01.2016, 09:24
Re: Get ID with PlayerInfo - by introx - 29.01.2016, 09:28
Re: Get ID with PlayerInfo - by Tamy - 29.01.2016, 09:40
Re: Get ID with PlayerInfo - by introx - 29.01.2016, 09:47
Re: Get ID with PlayerInfo - by introx - 29.01.2016, 09:51
Re: Get ID with PlayerInfo - by Tamy - 29.01.2016, 10:50
Re: Get ID with PlayerInfo - by introx - 29.01.2016, 11:52
Re: Get ID with PlayerInfo - by Tamy - 29.01.2016, 12:30

Forum Jump:


Users browsing this thread: