Italo Posted January 30, 2014 Share Posted January 30, 2014 I've tried everything but the image is only on the left side of the GPS when I wanted her to where is circled in red please help mi. Print: Script: function speed ( ) addEventHandler ( "onClientRender", root, getspeed ) end addEventHandler ("onClientVehicleEnter", root, speed) function wylacz ( ) removeEventHandler ( "onClientRender", root, getspeed ) end addEventHandler("onClientVehicleExit", root, wylacz) function hud ( ) ammo = getPedTotalAmmo ( getLocalPlayer() ) clip = getPedAmmoInClip ( getLocalPlayer() ) weaponID = getPedWeapon(getLocalPlayer()) health = getElementHealth (localPlayer) arma = getPedWeapon( getLocalPlayer() ) clip = getPedAmmoInClip ( getLocalPlayer() ) bala = getPedTotalAmmo ( getLocalPlayer() ) local hour, minutes = getTime() local x, y = guiGetScreenSize ( ) posx2= x-0 posy2= 0 posx3= x-0 posy3= 0 local screenWidth,screenHeight = guiGetScreenSize() if ( arma==27 ) then destroyElement(element1)element1 = dxDrawImage(screenWidth/466, 637, 116, 109,"imagens/m4.png", 0, 0, 0, tocolor(255, 255, 255, 255), true)end function quitar ( ) showPlayerHudComponent (source, "armour", false ) showPlayerHudComponent (source, "health", false ) showPlayerHudComponent (source, "money", false ) showPlayerHudComponent (source, "clock", false ) showPlayerHudComponent (source, "weapon", false ) showPlayerHudComponent (source, "ammo", false) showPlayerHudComponent (source, "money", false ) showPlayerHudComponent (source, "wanted", false ) showPlayerHudComponent (source, "crosshair", true ) end addEventHandler ( "onPlayerJoin", getRootElement(), quitar ) addEventHandler ( "onResourceStart", getRootElement(), quitar ) end addEventHandler("onClientRender",getRootElement(),hud) addEventHandler("onClientPlayerSpawn",getRootElement(),hud) Link to comment
Snow-Man Posted January 30, 2014 Share Posted January 30, 2014 local wep = getPedWeapon ( localPlayer ) local WepName = getWeaponNameFromID ( wep ) dxDrawImage(793, 169, 217, 99, "imagens/"..tostring(Weapon)..".png", 0, 0, 0, tocolor(255, 255, 255, 255), true) Link to comment
rocket Posted January 30, 2014 Share Posted January 30, 2014 this is a copy of that server Link to comment
Karuzo Posted January 30, 2014 Share Posted January 30, 2014 lol , and now? He's making it on his own. That's good enough. 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