Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local items = {}
- --patente
- items["patentedig"] = {"Patente","Usala per ottenere la patente firmata.",function(args)
- local choices = {}
- local idname = args[1]
- choices["Firma"] = {function(player,choice,mod) -- bind the money
- local user_id = vRP.getUserId(player)
- if user_id ~= nil then
- if vRP.tryGetInventoryItem(user_id, idname, 1, true) then
- vRPclient.notifyPicture(source,{"CHAR_BANK_MAZE",1,"BUSINESS LIFE",false,"Firmando..."})
- Wait(3000)
- vRP.defInventoryItem("patentef","Patente di ["..userid.."]","Patente A",nil,0)
- vRP.giveInventoryItem(user_id, "patentef", 10, true)
- vRP.closeMenu(player)
- end
- end
- end}
- return choices
- end,0}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement