IsPlayerConnected <- Not working
#7

Quote:
Originally Posted by Dwane
Посмотреть сообщение
Why a stock, when it's already a function by a_samp.inc?
Returns: The ID of the player OR -1,
pawn Код:
new pID = GetPlayerID(inputtext);
if( pID != -1 )
{
    // he's connected;
}
else
{
    //he's not
}
False

https://sampwiki.blast.hk/wiki/GetPlayerID

Quote:

Important Note: This is a custom function, which can be found in Useful_Functions.

Max
Reply


Messages In This Thread
IsPlayerConnected <- Not working - by Riddy - 14.12.2012, 21:32
Re: IsPlayerConnected <- Not working - by mastermax7777 - 14.12.2012, 21:42
Re: IsPlayerConnected <- Not working - by DrTHE - 14.12.2012, 21:42
Re: IsPlayerConnected <- Not working - by Riddy - 14.12.2012, 21:48
Re: IsPlayerConnected <- Not working - by DrTHE - 15.12.2012, 11:09
Re: IsPlayerConnected <- Not working - by Konstantinos - 15.12.2012, 11:19
Re : Re: IsPlayerConnected <- Not working - by scott1 - 15.12.2012, 11:41
Re: Re : Re: IsPlayerConnected <- Not working - by Konstantinos - 15.12.2012, 11:46
Re: IsPlayerConnected <- Not working - by Riddy - 15.12.2012, 12:18

Forum Jump:


Users browsing this thread: 3 Guest(s)