White141516 Posted July 20, 2020 Share Posted July 20, 2020 addCommandHandler("vendercolete", function(playerSource,commandName,id) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup ("Sicilia LTDA")) then if(id) then takePlayerMoney(source, 12000) local playerID = tonumber(id) if(playerID) then local targetPlayer, targetPlayerName = getPlayerID(playerID) if targetPlayer then setPedArmor ( targetPlayer, 100 ) else end end end end end ) Fiz esse script ai e não tou conseguindo colocar o limite de distância dele, alguém pode me ajudar? sou novatin '-' Link to comment
White141516 Posted July 20, 2020 Author Share Posted July 20, 2020 1 hour ago, White141516 said: addCommandHandler("vendercolete", function(playerSource,commandName,id) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(playerSource)), aclGetGroup ("Sicilia LTDA")) then if(id) then takePlayerMoney(source, 12000) local playerID = tonumber(id) if(playerID) then local targetPlayer, targetPlayerName = getPlayerID(playerID) if targetPlayer then setPedArmor ( targetPlayer, 100 ) else end end end end end ) Fiz esse script ai e não tou conseguindo colocar o limite de distância dele, alguém pode me ajudar? sou novatin '-' Pra quem não entendeu eu botei o script pra quem vender perder o money e os cara enviar normalmente '-' Link to comment
White141516 Posted July 20, 2020 Author Share Posted July 20, 2020 Resolvi, meu script tava todo errado tb '-' 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