31.03.2012, 23:56
Pesquisei e achei isso pra vc
Код:
//No Topo do GM: new PessoasX1; //No seu comando de ir ao X1: if(PessoasX1 == 2) return SendClientMessage(playerid,0xFFFFFFAA,"Mбximo de jogadores no X1 = 2"); SetPVarInt(playerid,"InX1", true); PessoasX1++; //Por fim, no seu OnPlayerDeath: if(GetPVarInt(playerid,"InX1")) SetPVarInt(playerid,"InX1", false), PessoasX1--;