Try Posted February 3, 2012 Posted February 3, 2012 Hey! Yeah im back again! I want 2 helps 1: Have a function to set the ped target? 2: How to add images to freeroam_gui? (i losted how to do ) Thanks, Mari.
Klesh Posted February 3, 2012 Posted February 3, 2012 getElementsByType("ped") guiCreateStaticImage(parameters)
Castillo Posted February 3, 2012 Posted February 3, 2012 Klesh: What has getElementsByType to do with target? she's talking about aiming.
Twisted Posted February 3, 2012 Posted February 3, 2012 Hi Mari i don't know the answer to your first question but ur second would be like this? {'img', src='test2.png', width=280, height=5 }, fr_client.lua freeroam table
Try Posted February 3, 2012 Author Posted February 3, 2012 Thanks Twister and Klesh u are thinking im new at this forum hahaha new is you! guy i helped all and i don`t asked the function i asked how to i need a explaning not functions!
Castillo Posted February 4, 2012 Posted February 4, 2012 Please don't start a fight. @Try: I've just found this function: setPedAimTarget
Castillo Posted February 4, 2012 Posted February 4, 2012 You're welcome. I don't know if that function does what you want. It work's like this: setPedAimTarget(myPed, 0, 0, 5) It doesn't set the target to a player or another ped or a vehicle.
Try Posted February 4, 2012 Author Posted February 4, 2012 I think yes cuz if i use setPedAimTarget(.......) then i say to ped shot it would shot it i think but thanks
Try Posted February 4, 2012 Author Posted February 4, 2012 Hehehehehe i need a help look the code the image don`t show!!!! the logo is at the folder the resource folder. wndMain = { 'wnd', text = 'BADWOLF FREEROAM', x = 10, y = 170, width = 250, controls = { {'img', src='logo.png', width=280, height=5 }, {'br'}, {'btn', id='kill', onclick=killLocalPlayer}, {'btn', id='skin', window=wndSkin}, {'btn', id='anim', window=wndAnim}, --{'btn', id='weapon', window=wndWeapon}, {'btn', id='clothes', window=wndClothes}, --{'btn', id='playergrav', text='grav', window=wndGravity}, {'btn', id='warp', window=wndWarp}, {'btn', id='Teleports', onclick=teleports}, --{'btn', id='stats', window=wndStats}, --{'btn', id='bookmarks', window=wndBookmarks}, {'br'}, {'chk', id='jetpack', onclick=toggleJetPack}, {'chk', id='falloff', text='fall off bike', onclick=toggleFallOffBike}, {'br'}, {'lbl', text='Pos:'}, {'lbl', id='xpos', text='x', width=45}, {'lbl', id='ypos', text='y', width=45}, {'lbl', id='zpos', text='z', width=45}, {'btn', id='setpos', text='map', window=wndSetPos}, {'btn', id='setinterior', text='int', window=wndSetInterior}, {'br'}, {'br'}, {'lbl', text='Vehicles'}, {'br'}, {'lbl', text='Current:'}, {'lbl', id='curvehicle'}, {'br'}, {'btn', id='createvehicle', window=wndCreateVehicle, text='create vehicle'}, {'btn', id='repair', onclick=repairVehicle}, {'btn', id='flip', onclick=flipVehicle}, {'btn', id='upgrades', window=wndUpgrades}, {'btn', id='color', onclick=openColorPicker}, {'btn', id='paintjob', window=wndPaintjob}, {'br'}, {'chk', id='lightson', text='Lights on', onclick=forceLightsOn}, {'chk', id='lightsoff', text='Lights off', onclick=forceLightsOff}, {'br'}, }, oncreate = mainWndShow, onclose = mainWndClose }
Castillo Posted February 4, 2012 Posted February 4, 2012 wndMain = { 'wnd', text = 'BADWOLF FREEROAM', x = 10, y = 170, width = 250, controls = { {'img', id='logo', src='logo.png', width=280, height=5 }, {'br'}, {'btn', id='kill', onclick=killLocalPlayer}, {'btn', id='skin', window=wndSkin}, {'btn', id='anim', window=wndAnim}, --{'btn', id='weapon', window=wndWeapon}, {'btn', id='clothes', window=wndClothes}, --{'btn', id='playergrav', text='grav', window=wndGravity}, {'btn', id='warp', window=wndWarp}, {'btn', id='Teleports', onclick=teleports}, --{'btn', id='stats', window=wndStats}, --{'btn', id='bookmarks', window=wndBookmarks}, {'br'}, {'chk', id='jetpack', onclick=toggleJetPack}, {'chk', id='falloff', text='fall off bike', onclick=toggleFallOffBike}, {'br'}, {'lbl', text='Pos:'}, {'lbl', id='xpos', text='x', width=45}, {'lbl', id='ypos', text='y', width=45}, {'lbl', id='zpos', text='z', width=45}, {'btn', id='setpos', text='map', window=wndSetPos}, {'btn', id='setinterior', text='int', window=wndSetInterior}, {'br'}, {'br'}, {'lbl', text='Vehicles'}, {'br'}, {'lbl', text='Current:'}, {'lbl', id='curvehicle'}, {'br'}, {'btn', id='createvehicle', window=wndCreateVehicle, text='create vehicle'}, {'btn', id='repair', onclick=repairVehicle}, {'btn', id='flip', onclick=flipVehicle}, {'btn', id='upgrades', window=wndUpgrades}, {'btn', id='color', onclick=openColorPicker}, {'btn', id='paintjob', window=wndPaintjob}, {'br'}, {'chk', id='lightson', text='Lights on', onclick=forceLightsOn}, {'chk', id='lightsoff', text='Lights off', onclick=forceLightsOff}, {'br'}, }, oncreate = mainWndShow, onclose = mainWndClose }
Try Posted February 4, 2012 Author Posted February 4, 2012 Ooops sorry i lost i lost put the logo in meta.xml
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