drk Posted February 11, 2012 Share Posted February 11, 2012 Try now, code updated. Copy my last code. Link to comment
Evil-Cod3r Posted February 11, 2012 Author Share Posted February 11, 2012 lol the images dosnt gone and they are so mutch bigger Link to comment
Evil-Cod3r Posted February 11, 2012 Author Share Posted February 11, 2012 Kenix can you help me Link to comment
Evil-Cod3r Posted February 11, 2012 Author Share Posted February 11, 2012 please Help i almost finsh my gamemode please Link to comment
mjau Posted February 11, 2012 Share Posted February 11, 2012 Please stop tripleposting, be patient... Link to comment
Evil-Cod3r Posted February 11, 2012 Author Share Posted February 11, 2012 ok sorrey Man my bad Link to comment
mjau Posted February 11, 2012 Share Posted February 11, 2012 anyway as i get it your probelm is getting the image to show to killer only ? or what ? Link to comment
Evil-Cod3r Posted February 12, 2012 Author Share Posted February 12, 2012 yes i want it show to the killer and show on the center of the screen just that Link to comment
Evil-Cod3r Posted February 12, 2012 Author Share Posted February 12, 2012 please castillo help me with this script its buging my head Link to comment
Evil-Cod3r Posted February 12, 2012 Author Share Posted February 12, 2012 Close Topic no help 2 days Link to comment
Kenix Posted February 12, 2012 Share Posted February 12, 2012 Explain what you need. I help you. Link to comment
Evil-Cod3r Posted February 12, 2012 Author Share Posted February 12, 2012 i have made this but if i killed some one the images dosnt show in the top and center on screen and they show to both of us i need it show to the killer and show it center of the screen local x,y = guiGetScreenSize() function headshot ( killer, weapon, bodypart ) if ( killer ) and ( killer ~= source ) then local image = guiCreateStaticImage ( x/5, y/5.8, 399,169, "SAMP"..math.random(1,4)..".png", false ) guiSetVisible ( image, false ) guiSetVisible ( image, true ) guiStaticImageLoadImage(image, "SAMP"..math.random(1,4)..".png") setTimer (guiSetVisible, 4000, 1, image, false ) end addEventHandler ( "onClientPlayerWasted", getLocalPlayer(), headshot ) Link to comment
Kenix Posted February 12, 2012 Share Posted February 12, 2012 Try. local x,y = guiGetScreenSize( ) function headshot ( killer, weapon, bodypart ) if ( killer ) and ( killer ~= source ) then local image = guiCreateStaticImage ( x/5, y/5.8, 399,169, "SAMP"..tostring( math.random( 1,4 ) )..".png", false ) guiStaticImageLoadImage( image, "SAMP"..tostring( math.random( 1,4 ) )..".png" ) setTimer ( guiSetVisible, 4000, 1, image, false ) end end addEventHandler ( "onClientPlayerWasted", localPlayer, headshot ) You forgot 'end'. Link to comment
Evil-Cod3r Posted February 12, 2012 Author Share Posted February 12, 2012 ok i have some problems with my gamemde i well fix and and get Back To You Thx For Help Kenix mybye i well replay tomorow Link to comment
Kenix Posted February 12, 2012 Share Posted February 12, 2012 ok i have some problems with my gamemde i well fix and and get Back To You Thx For Help Kenix mybye i well replay tomorow No problem 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