magnux Posted July 31, 2020 Share Posted July 31, 2020 Queria saber algumas funções para poder usar no meu server tipo, Quando um Jogador matar outro o que morreu com M4 nasce novamente no mapa que ele tava. Link to comment
DNL291 Posted July 31, 2020 Share Posted July 31, 2020 onPlayerWasted getPedWeapon spawnPlayer Link to comment
magnux Posted August 4, 2020 Author Share Posted August 4, 2020 On 31/07/2020 at 18:38, DNL291 said: onPlayerWasted getPedWeapon spawnPlayer Como faço para poder fazer essa função para bota dentro do comando ? queria por tipo quando a M4 mata um jogador ele voltar para o mapa que ele morreu. local weaponType = getPedWeapon ( getRandomPlayer() ) -- If a weapon type was returned then if ( weaponType ) then outputChatBox ( "someguy's current Weapon-type: " .. weaponType .. "." ) -- Display the weapon type in the chat box end 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