Calango Posted May 9, 2020 Share 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) Link to comment
Other Languages Moderators Lord Henry Posted May 9, 2020 Other Languages Moderators Share Posted May 9, 2020 Poste seu código na formatação adequada clicando no botão <> do fórum. Veja as regras aqui: 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