depato123 Posted May 18, 2013 Posted May 18, 2013 ¿Como puedo hacer para que si yo me muero me respawne en este punto pero no me cambie el skin? osea que me lo guarde aunque me muera ¿ se puede? function spawnWasted(player) repeat until spawnPlayer ( player, -2491.459, 2363.191, 10.272, 270, 25, 0, 0) fadeCamera(player, true) setCameraTarget(player, player) setPlayerTeam (player, nil) takePlayerMoney ( player, 150 ) end addEventHandler("onPlayerWasted", root, function() setTimer(spawnWasted, 1800, 1, source) end )
Castillo Posted May 18, 2013 Posted May 18, 2013 function spawnWasted ( player, skin ) repeat until spawnPlayer ( player, -2491.459, 2363.191, 10.272, 270, skin, 0, 0 ) fadeCamera ( player, true ) setCameraTarget ( player, player ) setPlayerTeam ( player, nil ) takePlayerMoney ( player, 150 ) end addEventHandler ( "onPlayerWasted", root, function ( ) setTimer ( spawnWasted, 1800, 1, source, getElementModel ( source ) ) end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts