ChamitoLindo Posted April 8, 2022 Share Posted April 8, 2022 local marker = createMarker(232.75312805176, 112.35497283936, 1003.2257080078, "cylinder", 3, 255,255,255, 0) inf = createPickup (232.75312805176, 112.35497283936, 1003.2257080078, 3, 1275, 0 ) setElementDimension(marker,0) setElementInterior(marker,10) function infoMedic (thePlayer) if exports.grp_dashboard:isPlayerInFaction(thePlayer , 20) then outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox(" ", thePlayer, 255,255,255, true) outputChatBox("#FFA000**Comando Geral Rotam #FFFFFFID: #FFA0001", thePlayer, 255,255,255, true) outputChatBox ( "#FFA000**Policia Normal Rotam #FFFFFFID: #FFA0002" , thePlayer , 255 , 255 , 255 , true ) outputChatBox ( "#FFA000**Feminina Rotam #FFFFFFID: #FFA0003" , thePlayer , 255 , 255 , 255 , true ) outputChatBox ( "#FFA000Syntax: /roupa #FFFFFFID" , thePlayer , 255 , 255 , 255 , true ) fim fim addEventHandler ( "onPickupUse" , inf , infoMedic ) função setS ( thePlayer , commandName , setSkin ) se exporta . grp_dashboard : isPlayerInFaction ( thePlayer , 2 ) then if isElementWithinMarker ( thePlayer , marker ) then if ( setSkin == "1" ) então setPedSkin ( thePlayer , 267 ) fim if ( setSkin == "2" ) então setPedSkin ( thePlayer , 295 ) fim if ( setSkin == "3" ) então setPedSkin ( thePlayer , 85 ) fim fim fim fim addCommandHandler ( "roupa" , setS ) Link to comment
Hydra Posted April 8, 2022 Share Posted April 8, 2022 Hi @ChamitoLindo, when you make a topic put the title in English because this category is only for English. If you want to ask for help in your native language, go to the Other Languages category. Also, when you ask for help, say what problem you have, don't just attach the script code waiting for someone to do it for you. Link to comment
Moderators Vinyard Posted April 8, 2022 Moderators Share Posted April 8, 2022 Moving this to the Portuguese section, please see the above advice. Link to comment
carlinloko Posted April 24, 2022 Share Posted April 24, 2022 Tem que setar o pickup no interior que você quer Utilize setElementInterior 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