toptional Posted May 14, 2013 Share Posted May 14, 2013 Having an issue in my testing gamemode, when I die the camera just looks at the body back and forth and does nothing i tried adding this script but nothing changed --respawning function respawn () spawnPlayer (source, 1177.5682373047, -1323.2587890625, 14.077121734619 ) outputChatBox ( getPlayerName ( source ).." died and was transported to All Saints Hospital.") end addEventHandler("onPlayerWated", getRootElement(),respawn) Link to comment
xXMADEXx Posted May 14, 2013 Share Posted May 14, 2013 You put "Wated" addEventHandler("onPlayerWasted", getRootElement(),respawn) Link to comment
toptional Posted May 14, 2013 Author Share Posted May 14, 2013 My god i'm such a nab thank you Link to comment
xXMADEXx Posted May 14, 2013 Share Posted May 14, 2013 My god i'm such a nab thank you Your welcome. Link to comment
LucasBaker Posted May 15, 2013 Share Posted May 15, 2013 you therefore AddEventHandler ("onPlayerWated" it is certain AddEventHandler ("onPlayerWasted" script --respawning function respawn () spawnPlayer (source, 1177.5682373047, -1323.2587890625, 14.077121734619 ) outputChatBox ( getPlayerName ( source ).." died and was transported to All Saints Hospital.") end addEventHandler("onPlayerWasted", getRootElement(),respawn) 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