10.06.2009, 23:06
How works IsPlayerConnected(playerid)?
I will use if(IPC[playerid]) instead of if(IsPlayerConnected(playerid)) it will be more optimum or is equivalent?
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; } |