Jump to content

Help with spawming


SAbJaN

Recommended Posts

So, I've got a RPG, and when I enter my server, it's not spawning, it's showing a black screen saying it's been hosted by windows, then when I goto my console to restart it, it works, but all the commands fail..

Any help on how to spawn in Los Santos or something?

Link to comment

https://wiki.multitheftauto.com/wiki/SpawnPlayer

  
local tPos =         -- Change pos 
{ 
    [1] = 0; 
    [2] = 0; 
    [3] = 10; 
} 
  
addEventHandler( 'onPlayerJoin', root, 
    function( ) 
        spawnPlayer(  
            source, 
            tPos[1], 
            tPos[2], 
            tPos[3] 
        ) 
        fadeCamera ( source, true ) 
        setCameraTarget ( source, source ) 
    end 
) 
  

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