14.06.2011, 07:25
Код:
//OnPlayerDisconnect if(playerid == lLead) { for(new i; i != MAX_PLAYERS; ++i) { if(GetPlayerScore(i) > GetPlayerScore(lLead)) { lLead = i; } } if(lLead != playerid) { CallLocalFunction("OnLeadChange", "ii", lLead, playerid); } }