[Ajuda] Procura dps do roubo
#1

tipo aonde eu mudo para quando conseguirrem roubar, ai aumenta 3 niveis de procura no lugar de sу 1.
pawn Код:
new grana = 35000 + random(6000);
        if(PlayerToPoint(10.0,i,2141.221923,1642.316802,992.978110))
        {
            if(ProvocoBanco[playerid] == 1)
            {
                format(gstring, sizeof(gstring), "%s e os %s conseguiram roubar o cofre do Banco! ID:[%d]", PlayerName(playerid), NomeORG(playerid), playerid);
                SendClientMessageToAll(GetPlayerColor(playerid), gstring);
                roubando[playerid] = 0; roubobanco = 0; ProvocoBanco[playerid] = 0;
                ClearAnimations(playerid);
                RemovePlayerAttachedObject(playerid,3);
            }
            {
                SetPlayerCriminal(i,255, "Assalto ao Banco");
                GivePlayerMoney(i, grana);
                format(gstring, sizeof(gstring), "Vocк e os %s roubaram $%d do cofre do Banco!",NomeORG(playerid), grana);
                SendClientMessage(i, COLOR_YELLOW, gstring);
            }
        }
    }
    return 1;
}
Reply
#2

procura por isso SetPlayerWantedLevel

https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)