SA-MP Forums Archive
[Ajuda] Procura dps do roubo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Procura dps do roubo (/showthread.php?tid=351048)



[Ajuda] Procura dps do roubo - Gutierrez_zikaloko - 14.06.2012

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;
}



Re: [Ajuda] Procura dps do roubo - telmo_ferreira - 14.06.2012

procura por isso SetPlayerWantedLevel

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