Get ID with PlayerInfo
#7

Код:
stock getInconnuID(inconnueID)
{
    for(i = MIN_PLAYERID; i < MAX_PLAYERS_CURRENT+1; i++)
		{
			if(inconnuID == idnomoff[i])
			{
 				return inconnuID;
			}
		}
    }
And you can use this in /kick and /give as

Код:
    if(idnomoff[param1])
    {
        new i=getInconnuID(idnomoff[param1]);
        Kick(i);
     }
I hope this will help, report any error/issues, thanks.
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: 1 Guest(s)