flirtyboy23 Posted February 12, 2011 Share Posted February 12, 2011 Can someone help me on how to make On player death spawnb at hospital depending in area so if in LV spawn at lv , in Ls spawn at ls , in sf spawn at sf etc Link to comment
12p Posted February 12, 2011 Share Posted February 12, 2011 This is the super ultra simple script to respawn players. Click on every BLUE and ORANGE text to learn about the function, and complete the script. addEventHandler ( "onPlayerWasted", getRootElement(), function ( ) fadeCamera ( source, false ) --To make a simple beauty effect that fades player's camera out setTimer ( spawnPlayer, 1000, 1 ) --YOU SET THE PARAMETERS (POSITION, ROTATION, SKIN, ETC) setTimer ( fadeCamera, 2000, 1, source, true ) --Then returns camera to normal. end ) And for the spawning, use: getZoneName Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now