[Pedido] Funзгo Prisгo
#2

veja no seu proprio gm.

ex:
pawn Код:
if(PlayerInfo[playerid][pCarLic] == 0// tiver carteira |  if(PlayerInfo[playerid][pCarLic] == 1//nгo tiver carteira
sobre o de matar um player, й meio complicado, voce vai ter que declarar mais coisa.
ex:
pawn Код:
if(killerid != INVALID_PLAYER_ID) // matar
        {
            if(PlayerInfo[playerid][pHorasON] == 0 // se o player q morrer tiver 0 hrs jogadas
            {

                    format(string, sizeof(string),"[AVISO] Vocк matou um Novato/Civil e por isso foi preso.", Nome(playerid));// mensagem quando ele matar
                    SendClientMessage(killerid, Vermelho, string);
                    PlayerInfo[killerid][pJailTime] += 3600; // funзao que prende ele 3600
                }
            }
        }

@edit

nao tinha visto que so queria a do prender..

mas ela tambem esta no seu GM.

procure no /cadeia ou no /presos, /detentos.

Ex:
pawn Код:
PlayerInfo[killerid][pJailed]
se ajudei +resp
Reply


Messages In This Thread
Funзгo Prisгo - by felipelm3g - 18.12.2015, 17:24
Re: Funзгo Prisгo - by fdsda - 18.12.2015, 18:37
Re: Funзгo Prisгo - by cicinho - 18.12.2015, 20:23
Re: Funзгo Prisгo - by felipelm3g - 18.12.2015, 21:41
Re: Funзгo Prisгo - by F1N4L - 18.12.2015, 22:37
Re: Funзгo Prisгo - by felipelm3g - 18.12.2015, 22:56
Re: Funзгo Prisгo - by Ever_SH - 19.12.2015, 13:47
Re: Funзгo Prisгo - by felipelm3g - 19.12.2015, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)