[Ayuda]Unlockplayer
#3

no esta bien echo miralo bien. si una persona esta baneado y haces unban como puede estar conectado en server para utulizar

pawn Код:
if(IsPlayerConnected(giveplayerid))
            {
                if(giveplayerid != INVALID_PLAYER_ID)
                {
                    if(PlayerInfo[giveplayerid][pLocked] == 1)
                    {
                        PlayerInfo[giveplayerid][pLocked] = 0;
                        TogglePlayerControllable(giveplayerid, 1);
                        SendClientMessage(playerid, COLOR_YELLOW, "Account unlocked succesfuly.");
lo que quero hacer es que cuando haces /aunlock que haga un funcion dentro de .ini.

por ejemplo si esta baneado Nombre.ini

y haces /aunlock Nombre quero que desbloquee usuario..
Reply


Messages In This Thread
[Ayuda]Unlockplayer - by MrLevan - 07.03.2012, 00:12
Re: [Ayuda]Unlockplayer - by LuisGraph - 07.03.2012, 01:14
Respuesta: [Ayuda]Unlockplayer - by MrLevan - 07.03.2012, 01:28
Re: [Ayuda]Unlockplayer - by LuisGraph - 07.03.2012, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)