SHARE
TWEET

Untitled

a guest Jun 17th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local items = {}
  2.  
  3. --patente
  4. items["patentedig"] = {"Patente","Usala per ottenere la patente firmata.",function(args)
  5.   local choices = {}
  6.   local idname = args[1]
  7.  
  8.   choices["Firma"] = {function(player,choice,mod) -- bind the money
  9.     local user_id = vRP.getUserId(player)
  10.     if user_id ~= nil then
  11.       if vRP.tryGetInventoryItem(user_id, idname, 1, true) then
  12.           vRPclient.notifyPicture(source,{"CHAR_BANK_MAZE",1,"BUSINESS LIFE",false,"Firmando..."})
  13.           Wait(3000)
  14.           vRP.defInventoryItem("patentef","Patente di ["..userid.."]","Patente A",nil,0)
  15.           vRP.giveInventoryItem(user_id, "patentef", 10, true)
  16.           vRP.closeMenu(player)
  17.       end
  18.     end
  19.   end}
  20.  
  21.   return choices
  22. end,0}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top