[Ajuda] Licenзas
#8

Dialog de comprar armas.

pawn Код:
if (!PlayerInfo[playerid][pGunLic])
    return SendClientMessage(playerid, -1, "Vocк nгo possui porte legal de armas, por isso nгo pode adquirir uma!");
Tambйm pode acrescentar em:
pawn Код:
public SetPlayerUnjail() {

    for ( new i; i < MAX_PLAYERS; ++i ) {
   
            if (IsPlayerConnected(i) ) {
           
                if (!PlayerInfo[i][pGunLic] && 1 <= GetPlayerWeapon(i) <= 47 ) {

                    ResetPlayerWeapons(i);
                    SendClientMessage(i, -1, "Sem licenзa! Armas retiradas!");
                }
            }
    }

    return true;
}
Reply


Messages In This Thread
Licenзas - by Powers - 24.07.2013, 21:50
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:02
Re: Licenзas - by Powers - 24.07.2013, 22:06
Re: Licenзas - by ProKillerpa - 24.07.2013, 22:13
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:16
Re: Licenзas - by Powers - 24.07.2013, 22:22
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:27
Re: Licenзas - by Gii - 24.07.2013, 22:29
Re: Licenзas - by Powers - 24.07.2013, 22:34
Re: Licenзas - by Powers - 25.07.2013, 00:20

Forum Jump:


Users browsing this thread: 1 Guest(s)