[Pedido] Trancar Arena o Player sу poder Usa comando quando morrer ou da /kill ou /sair
#2

pode-se utilizar de uma simples funзгo:

pawn Код:
//TOPO DO GM

#include <zcmd>
new ArenaTrancada[MAX_PLAYERS], TaNaArena[MAX_PLAYERS];

//OnPlayerConnect

ArenaTrancada[playerid] = 1;
TaNaArena[playerid] = 0;

//Final do GM

CMD:LiberarArena(playerid, params[])
{
    for(new i; i < MAX_PLAYERS; i ++)
     {
       ArenaTrancada[i] = 0;
     }
       SendClientMessageToAll(-1, "A Arena foi liberada");
    return true;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)