ODutii Posted August 11, 2019 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 )
#DeltaSCR Posted August 11, 2019 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ê? Minha resposta te ajudou? Por favor, não esqueça de avaliar - #DeltaSCR Minha página no Facebook: Delta Scripting - MTA "Viribus et honor"
DNL291 Posted August 11, 2019 Posted August 11, 2019 Substitua client por source. Please do not PM me with scripting related question nor support, use the forums instead.
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