ODutii Posted August 11, 2019 Share Posted August 11, 2019 Quando o jogador morrer e ele irá teleportar ao hospital, oque está havendo de errado? function aomorrer() setElementPosition ( client, 2033.6293945313,-1414.7727050781,16.9921875) outputChatBox("Você perdeu a conciência e foi levado ao hospital.",client,255,255,255) end addEventHandler ( "onPlayerWasted", getRootElement(), aomorrer ) Link to comment
#DeltaSCR Posted August 11, 2019 Share Posted August 11, 2019 1 hour ago, ODutii said: Quando o jogador morrer e ele irá teleportar ao hospital, oque está havendo de errado? function aomorrer() setElementPosition ( client, 2033.6293945313,-1414.7727050781,16.9921875) outputChatBox("Você perdeu a conciência e foi levado ao hospital.",client,255,255,255) end addEventHandler ( "onPlayerWasted", getRootElement(), aomorrer ) Quem seria o "client" para você? Link to comment
DNL291 Posted August 11, 2019 Share Posted August 11, 2019 Substitua client por source. 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