Coder Social home page Coder Social logo

vrp's People

Contributors

antonioganea avatar boss-man-dev avatar bringrainfire avatar bscal avatar dioneb avatar endrain avatar femga avatar goldo-dev avatar imagicthecat avatar j0n4s13 avatar jaimeadf avatar kp0h avatar nunonovais avatar pz1k avatar rodrigo-apoc avatar sharky521 avatar snaicrys avatar tabarra avatar vs-x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vrp's Issues

Markers/Blips customization

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...

Item transformer system

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.

EMS Stuff :D

I have idea it is to add same function of the police but for the medic (ems)

Problem HUD doesnt refresh

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)

Business fonction

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

Problem to add more item transformers

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 :)

Multiple characters - question/suggestion

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.

How to be a cop

Hi, when I go to the computer or cloakroom nothing happen. I've added myself to the police group.

Server test acces

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 :(

Weaponstype by location

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 :)

Hud food and water, key menu

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

Bug: Problem native vRP.getUserIdentity [Resolved]

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)

Fix: Font of your menu..

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

Modify the pos of tvRP.notify

@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

Loadout system

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?

Idea: Phone!

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

Problem salary

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)

Gui Controls doesn't work

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.

Salary problem.. I dont understand the tunnel system

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..

Idea for better RP phone using

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 :).

Question: How to make a Pull Request ?

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"

Index Out of range problem

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?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.