@Connect Posted November 25, 2014 Share Posted November 25, 2014 (edited) Resolvido desculpa encomodar Edited November 28, 2014 by Guest Link to comment
manawydan Posted November 25, 2014 Share Posted November 25, 2014 vc ta usando onClientRender? algo no debug? Link to comment
@Connect Posted November 25, 2014 Author Share Posted November 25, 2014 (edited) Resolvido Edited November 27, 2014 by Guest Link to comment
manawydan Posted November 26, 2014 Share Posted November 26, 2014 o problema pode ta no task ou no getControlState. para tentarmos descobrir tentes essas duas formulas, primeiro uma e depois outra. function updateCamera () local weapon = getPedWeapon(getLocalPlayer()) if weapon == 43 and getPedTask(getLocalPlayer(), "secondary", 0) == "TASK_SIMPLE_USE_GUN" then dxDrawImage(0, 0, 300, 300, "binoculars.png") end addEventHandler ( "onClientRender", root, updateCamera ) function updateCamera () local weapon = getPedWeapon(getLocalPlayer()) if weapon == 43 and (getControlState("aim_weapon")) then dxDrawImage(0, 0, 300, 300, "binoculars.png") end addEventHandler ( "onClientRender", root, updateCamera ) obs: o meta.xml ta ok? Link to comment
@Connect Posted November 26, 2014 Author Share Posted November 26, 2014 (edited) desculpa o incomodo ai obrigado pela ajuda pode apagar o tópico Edited November 28, 2014 by Guest Link to comment
manawydan Posted November 27, 2014 Share Posted November 27, 2014 hehe nem percebi(acho q so os moderador q pode apagar) Link to comment
DNL291 Posted November 28, 2014 Share Posted November 28, 2014 Não há motivos pra deletar o tópico. Além disso, ele está aqui para ajudar outras pessoas que posteriormente podem ter o mesmo problema. 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