Jump to content

How do i set respawn location ?


dranton17

Recommended Posts

Posted

I have the script that set the location to spawn when login but after someone die he is respawned at the basic place near Las Venturas . What is the script in which i can set the coordonates for respawn ?

Posted

This topic should go in the "Scripting" section.

local x = 0 
local y = 0 
local z = 5 
  
function onPlayerWastedRespawnPlayer() 
setTimer(spawnPlayer,1500,1,source,x,y,z,0,getElementModel(source)) 
end 

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