zThyPvpTK Posted June 4, 2019 Share Posted June 4, 2019 Sorry, the wrong English is that I'm from Brazil. o I'm doing a script and I want to do that when I do this command on the marker it teleport pro Interior 0 that's the normal world more will not it can help me Quote function lv(player,thePlayer) if isElementWithinMarker(player, Saida) then if getPlayerMoney(player) >= 5000 then takePlayerMoney(player, 5000) setTimer(setElementInterior,100,1,lv,0,1679.1728515625, 1501.638671875, 10.769113540649) outputChatBox ( "( #00ff00INFO#ffffff ) #ffff00Obrigado Por Usar A UBI Bom Dia", source, 255, 255, 255, true ) else outputChatBox ( "( #00ff00INFO#ffffff ) #ffff00Você não tem dinheiro Suficiente", source, 255, 255, 255, true ) end end end addCommandHandler("comprar",lv) You do not have to have the team so I want you to teleport Link to comment
DNL291 Posted June 4, 2019 Share Posted June 4, 2019 (edited) Replace 'lv' with player in setTimer function, also do it for source as well. Edited June 4, 2019 by DNL291 Link to comment
#DeltaSCR Posted June 4, 2019 Share Posted June 4, 2019 Hello bro, we have a PT / BR section, feel free to create your topics there Hugs Here is the link: Portuguese / Português Link to comment
Jonas^ Posted June 5, 2019 Share Posted June 5, 2019 Try: function lv (thePlayer, cmd) if isElementWithinMarker (thePlayer, Saida) then if getPlayerMoney (thePlayer) >= 5000 then takePlayerMoney (thePlayer, 5000) theTimer = setTimer (function () setElementInterior (thePlayer, 0, 1679.1728515625, 1501.638671875, 10.769113540649) outputChatBox ("( #00ff00INFO#ffffff ) #ffff00Obrigado Por Usar A UBI Bom Dia", thePlayer, 255, 255, 255, true) end, 100, 1) else outputChatBox "( #00ff00INFO#ffffff ) #ffff00Você não tem dinheiro Suficiente", thePlayer, 255, 255, 255, true) end end end addCommandHandler ("comprar", lv) @zThyPvpTK Link to comment
zThyPvpTK Posted June 6, 2019 Author Share Posted June 6, 2019 17 hours ago, Jonas^ said: ( 17 hours ago, Jonas^ said: Experimentar: @zThyPvpTK foi obrigado 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