IsPlayerConnected
#1

How works IsPlayerConnected(playerid)?

I will use if(IPC[playerid]) instead of if(IsPlayerConnected(playerid)) it will be more optimum or is equivalent?
Quote:

new bool:IPC[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
IPC[playerid] = true;
}

public OnPlayerDisconnect(playerid)
{
IPC[playerid] = false;
}

Reply


Messages In This Thread
IsPlayerConnected - by Span1ard - 10.06.2009, 23:06
Re: IsPlayerConnected - by MrPanz - 10.06.2009, 23:07
Re: IsPlayerConnected - by Span1ard - 10.06.2009, 23:25
Re: IsPlayerConnected - by MrPanz - 10.06.2009, 23:57
Re: IsPlayerConnected - by MenaceX^ - 11.06.2009, 05:25
Re: IsPlayerConnected - by Joe Staff - 11.06.2009, 06:07
Re: IsPlayerConnected - by Donny_k - 11.06.2009, 10:11

Forum Jump:


Users browsing this thread: 7 Guest(s)