Jump to content

Qestion


Newbie

Recommended Posts

Posted

Hey Guys, i want to ask, i am making a racing server with custom resources, and i need to know, is it possible to force player into "race" gamemode, when he loggins (reg/login panel runs at freeroam)

Posted

I think that you guys didnt understood my question :/

I will try to explain more "simplier" Let's say i play in freeroam, at my server, and i want to join to race, how could i do that ?

Posted

There are 2 ways of achieveing what you are talking about:

1. Launch another server with different gamemode (and other resources) and use redirectPlayer function to connect players to it.

2. Write tonns (or less) of code and make multi-gamemode which requires advanced Lua knowledge.

Posted

race and play is simple only use arrays as setElementData use getElementData to define which will run for the player

the simple way to do this

--example 
if getElementData(localPlayer,"Modo") == "Play") then 
spawn  
camera 
vehicle 
warp 
etc 
  

remembering that it is not professional.

this is an example.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...