25.09.2013, 09:25
You are missing IsPlayerConnected
PHP код:
#pragma unused params
if (IsPlayerConnected(playerid)) {
for (new i = 0; i < MAX_PLAYERS; i++)
if (IsPlayerConnected(i) && (PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pLeader] == 1))
LEOOnline++;
if (LEOOnline < 4)
return SendClientMessage(playerid, COLOR_GRAD3, "You need at least 4 Law Enforcement officers!");
}