Jump to content

if i start gamemode in ffs server not work


HoLsTeN

Recommended Posts

hi all

I have a problem IN my server

if i start the gamemode in my local server it is work 1.3

and when i upload it in ffs server 1.3

it is not work

this pic show you the Error in the server

84y08245.png

i am use the XML function only in the login_panel for nextrame

thank you :)

Link to comment

If this is your gamemode you must use spawnPlayer() in order to spawn the players at start.

  
local X= 
local Y= 
local Z= 
--Write your spawn coordinates after the X, Y and Z 
function PLJOIN() 
    spawnPlayer(source, X, Y, Z) 
    fadeCamera(source, true) 
    setCameraTarget(source, source) 
end 
addEventHandler("onPlayerJoin", getRootElement(), PLJOIN) --Change this to "onPlayerLogin" if you want players to spawn at login 
  

Link to comment

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