I am making a FiveM server

So, there is no real issue, I just wanted to figure out how to make a custom job. Let me give you an example. I make a police icon in the police station, you walk in the icon and press E. It gives me a black screen, puts me on duty, puts me in police clothes and gives me certain weapons. How could I do that?

Thanks in advance

Code something that adds a blip, then make a distance check and check if control is pressed

DoScreenFadeOut/In() to show black screen and then store somewhere that the player is in duty

Maybe look at some other scripts, there’s not really a “how to” as you should just code those things

You forgot the DoScreenFadeIn() or it will just be black:)

Once you go black you never go back, also see the slash :frowning:

Thanks for the help!

Oh didnt realize the slash :smiley:

Would anyone actually good in this stuff, be willingful to help me with the server? I don’t really have much so I don’t expect anyone to help me, but if someone is then feel free to reply.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.