vrp-framework / vrp Goto Github PK
View Code? Open in Web Editor NEWFiveM (http://fivem.net) RP addon/framework
Home Page: https://vrp-framework.github.io/vRP
License: MIT License
FiveM (http://fivem.net) RP addon/framework
Home Page: https://vrp-framework.github.io/vRP
License: MIT License
Screen: http://prntscr.com/f6abmx
Hello @ImagicTheCat, just a little question, is it possible to customize a particular marker/blip for hidden to players that don't have a permission? I found a solution but with override the markers/blips generation in modules code, so it's really a bad idea to do this...
The lack of markers and blips on the map in item transformer system. I think it is better to embed in the system itself, instead of doing separately.
I have idea it is to add same function of the police but for the medic (ems)
I have a idea, why u not add a effect when u drink a Bottle of Vodka then a effect is executed and u are drunken
Hi the Accent (é, ô, à, è...) has stopped working :(
I create a HUD for your Framework... When i spawn the first time i have john smith and when i go to create a identity the Hud doesnt refresh and i have already John Smith
My code:
local htmlEntities = require("resources/vrp/lib/htmlEntities")
-- name hud
AddEventHandler("vRP:playerSpawned",function()
local user_id = vRP.getUserId(source)
if user_id ~= nil then
local identity = vRP.getUserIdentity(user_id)
vRPclient.setProgressBar(source,{"vRP:Identite","dessusargent","Nom : "..htmlEntities.encode(identity.firstname).." "..htmlEntities.encode(identity.name)..", Age : "..identity.age,0,0,0,100})
end
end)
All in the title
When i receive a SMS, he is displayed only 1 second
Hello ,
First I whant tell you... You make really good job!!
I have online test server ( RPF Studio Alpha 1.5 ) for my futur official server, but I donc understand for Business...
When I create a Business, never I have tranfers money?
I try to put Dirty money in item.tranformer.lua but I take the money without Business, can you tell me some info about this great script?
Thanks
Cedric
In https://github.com/ImagicTheCat/vRP/blob/master/vrp/client/basic_garage.lua at line 18 :
local i = 0
while not HasModelLoaded(mhash) and i < 10000 do
RequestModel(mhash)
Citizen.Wait(10)
end
variable i is never edited therefore the second condition is always true it might be refactored by
while not HasModelLoaded(mhash) do
RequestModel(mhash)
Citizen.Wait(10)
end
The message: http://prntscr.com/f4rxv0
Hi,
I am looking for add several item transformers, but impossible to add more than one. I tried several methods in the modules/item_transformer.lua file. Is it possible to add more than one?
Thanks in advance :)
Hey, are you going to allow players to have multiple characters on one account? :)
I think that would be a nice addition, but I don't know if that's possible with your current code.
Hi i prevent You i have a problem.. The Hud is deplaced: http://prntscr.com/f4mjm5
Hi, when I go to the computer or cloakroom nothing happen. I've added myself to the police group.
Hi @ImagicTheCat I just prevent you, the motorcycle shop does not work, i have the blip but im not have the marker for open the shop..
Hi Imagic thank for your amazing works ! I trying to connect to the test server but it says Couldn't load ressource fivem-map-skater :(
all in the title
Screenshot: http://prntscr.com/f6bn57
Problem: Cuff:Work, but the all other function does not work and make a error..
Hello,
Im currently adding all weapons that supposed to be availables ingame, but I want to know if it possible to apply the same system used for garages (differents types of car by locations) to ammunations shop ?`
Thanks in advance :)
All in the title ^^
Hello, count you added jobs ?
Or else how can we associate a job with the system of money of vrp
All in the title ^^
I wish I could climb a little bit the bars of hunger is water, it is possible because I can not. As well as changing the key to open the "m" menu does not work. Thank you for your reply
Hi i have found this: https://github.com/romgerman/GTAVMenuVueHtml
Can you be inspired by this menu? :p he is very beautiful
I create a HUD (i share this i u are interessed) but the native does not work :/
AddEventHandler("vRP:playerSpawned",function()
local user_id = vRP.getUserId(source)
if user_id ~= nil then
vRPclient.setProgressBar(source,{"vRP:Identite","dessusargent","Nom : ".. vRP.getUserIdentity(firstname, name) ..", Age : "..vRP.getUserIdentity(age),0,0,0,100})
end
end)
Coucou je ne saurais pas écrire ça en EN mais en gros j'ai modifier la police d'écriture de ton menu car elle était.... MOCHe xDD Tu veux que je te l'envoient ?? J'ai mis Arial
@ImagicTheCat I want to know if it is possible to change the position of this:
function tvRP.notify(msg)
SetNotificationTextEntry("STRING")
AddTextComponentString(msg)
DrawNotification(true, false)
end
I liked set the white silk robe when the player die
Hello ImagicTheCat, did you planned to integrate a basic loadout system, for example with the police? I'm currently work on it because set the model cop directly on cloackroom is not really good, will be better to made a flag coop take in service and add to the cloackroom a few skin customization and bulletproof gilet for example.
What do you think about it?
All in the title :p
all in the title
I have a idea why not add a phone (comme sur FailyV) in the main menu)
And one thing pls :'( change the touch for open the main menu ... Car quand on monte vers le haut ou que l'ont veut voir la liste de joueurs le menu s'ouvre
All in the title
I have test to make a salary system but it does not work :/
What is the problem ??
Citizen.CreateThread(function ()
while true do
Citizen.Wait(900000) -- Modifier cette valeur pour la fréquence des salaires (600000 = 10 minutes)
local user_id = tvRP.getUserId(source)
local jobcadet = tvRP.hasGroup(user_id,"cadet")
local jobsergent = tvRP.hasGroup(user_id,"sergent")
local joblieutenant = tvRP.hasGroup(user_id,"lieutenant")
local jobcapitaine = tvRP.hasGroup(user_id,"capitaine")
local jobtaxi = tvRP.hasGroup(user_id,"taxi")
local jobchomeur = tvRP.hasGroup(user_id,"user")
if user_id ~= nil then
local identity = tvRP.getUserIdentity(user_id)
if jobchomeur then
tvRP.giveMoney(user_id,"100")
tvRP.notify("Vous avez reçu votre salaire !")
elseif jobtaxi then
tvRP.giveMoney(user_id,"300")
tvRP.notify("Vous avez reçu votre salaire !")
elseif jobcadet then
tvRP.giveMoney(user_id,"500")
tvRP.notify("Vous avez reçu votre salaire !")
elseif jobsergent then
tvRP.giveMoney(user_id,"800")
tvRP.notify("Vous avez reçu votre salaire !")
elseif joblieutenant then
tvRP.giveMoney(user_id,"1000")
tvRP.notify("Vous avez reçu votre salaire !")
elseif jobcapitaine then
tvRP.giveMoney(user_id,"1800")
tvRP.notify("Vous avez reçu votre salaire !")
end
end
end)
Hello, thank's a lot for your amazing work !
I try to learn from your API, but I have a problem for using GUI menu, controls set doesn't work for atm or markets (up/down and left/right are ok, but select not work).
Do you have any idea about this issue?
Thank's a lot.
My script:
-- Salaire
local Tunnel = require("resources/vRP/lib/Tunnel")
Citizen.CreateThread(function ()
while true do
Citizen.Wait(1) -- Modifier cette valeur pour la fréquence des salaires (600000 = 10 minutes)
local user_id = vRP.getUserId(source)
local jobcadet = vRP.hasGroup(user_id,"cadet")
local jobsergent = vRP.hasGroup(user_id,"sergent")
local joblieutenant = vRP.hasGroup(user_id,"lieutenant")
local jobcapitaine = vRP.hasGroup(user_id,"capitaine")
local jobtaxi = vRP.hasGroup(user_id,"taxi")
local jobchomeur = vRP.hasGroup(user_id,"user")
if user_id ~= nil then
if jobchomeur then
vRP.giveMoney(user_id,"100")
vRPclient.notify("Vous avez reçu votre salaire !")
elseif jobtaxi then
vRP.giveMoney(user_id,"300")
vRPclient.notify("Vous avez reçu votre salaire !")
elseif jobcadet then
vRP.giveMoney(user_id,"500")
vRPclient.notify("Vous avez reçu votre salaire !")
elseif jobsergent then
vRP.giveMoney(user_id,"800")
vRPclient.notify("Vous avez reçu votre salaire !")
elseif joblieutenant then
vRP.giveMoney(user_id,"1000")
vRPclient.notify("Vous avez reçu votre salaire !")
elseif jobcapitaine then
vRP.giveMoney(user_id,"1800")
vRPclient.notify("Vous avez reçu votre salaire !")
end
end
end
end)
The (1) is for test..
Again, thank's a lot for your time passed on this project, its really amazing !
Is it possible to improve the phone system for to allow player only use it if they bought a phone item ?
In fact, is it possible to allow some "interactions" based on items requirements ?
Thank's in advance :).
Screenshot: http://prntscr.com/f5wu2p
All in the title when i press pull request in the appli github i have a message "It seems you do not have permission to push your change to this repository"
All in the title ^^
If it's possible :)
Hi i have create a systeme of jobs on EssentialMode but i search to convert the command to the vRP command ? @ImagicTheCat If you want check the job it is dispo on my github page
money_in and money_out does not work :/
All in the title ^^ :) (pls make the system with marker ^^)
Je load juste les IPL pour les clients :D
Ajoute le dans vRP pour ajouté encor des function :)
Hello,
again thank's a lot for your amazing job... I was working on a vehicule shop just before your commit, and your garage system its better :D.
Unfortunately, the "Owned/Buy" system doesn't work.
When you bought a car, and you try to go to "Owned Menu"; there is an "Index out of range" error (basic_garage.lua ligne 67 and 105).
I think its related to the zero index with toTable() but I can't fix it...
Thank's in advance for your answer :).
(and for the No police flag, will be better to add the unwanted loop check, no?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.