Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if IsValid(BankRobber) then
  2. for _, ent in pairs(ents.FindByClass("bank_vault")) do
  3. if ent:IsValid() && BankRobber:GetPos():Distance(ent:GetPos()) >= BANK_Custom_RobberyDistance then
  4. if BankIsBeingRobbed then
  5. DarkRP.notify(BankRobber, 1, 4, "You have moved to far away from the bank vault, and the robbery has failed!")
  6. BankRobber:SetDarkRPVar("wanted", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement