Calango Posted May 9, 2020 Posted May 9, 2020 Olá queria saber como faço pra botar no pickup o código para remover a skin tipo, os pickups pegam farda e depois outro pickup pra voltar a skin que usamos apaisana. zombiehunterpickup55555 = createPickup (1542.3504638672, -1620.3002929688, 13.55456161499, 3, 1275, 0 ) function zombiehunterskinpickup55555 ( thePlayer ) setPedSkin ( thePlayer, 33 ) setPlayerTeam ( thePlayer, teamzombie ) setElementData ( thePlayer, "zombie", true ) end addEventHandler ( "onPickupUse", zombiehunterpickup55555, zombiehunterskinpickup55555 ) addEventHandler ("onPickupUse", getRootElement(), function (playerWhoUses) if (source == zombiehunterpickup55555) then setPlayerNametagText (playerWhoUses, "" .. getPlayerName (playerWhoUses)) setElementData (playerWhoUses, "job", "farm") end end)
Moderators Lord Henry Posted May 9, 2020 Moderators Posted May 9, 2020 Poste seu código na formatação adequada clicando no botão <> do fórum. Veja as regras aqui: Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
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