Mσнαмα∂ Hєℓιѕн Posted August 21, 2018 Posted August 21, 2018 hi guys i have a problem im try for fix this problem but i can't players when death don't respawn how to fix it ?
Dimos7 Posted August 21, 2018 Posted August 21, 2018 2 hours ago, Mσнαмα∂ Hєℓιѕн said: hi guys i have a problem im try for fix this problem but i can't players when death don't respawn how to fix it ? Show us your code
Mσнαмα∂ Hєℓιѕн Posted August 21, 2018 Author Posted August 21, 2018 function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) 59 minutes ago, Dimos7 said: Show us your code
Mσнαмα∂ Hєℓιѕн Posted August 21, 2018 Author Posted August 21, 2018 function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) 2 hours ago, Dimos7 said: Show us your code @Dimos7 plz help me
SycroX Posted August 21, 2018 Posted August 21, 2018 (edited) function respawnPlayer() setTimer(function(source) fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end, 1500, 1, source) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) accData.skin not identified Edited August 21, 2018 by #َxLysandeR
Dimos7 Posted August 21, 2018 Posted August 21, 2018 (edited) 7 hours ago, Mσнαмα∂ Hєℓιѕн said: function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) @Dimos7 plz help me function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,0 , getPedSkin(source), 0, 0) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) change first 0 with your rotation second and third is interior and dimension Edited August 21, 2018 by Dimos7
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