Jump to content

Ask about This :)


^Dev-PoinT^

Recommended Posts

Hey i have 13 images and i made This Code is it Right ?

i put Then in data/

local x,y = guiGetScreenSize() 
local image = guiCreateStaticImage ( x/4, y/5.8, 415,67, "images/H"..math.random(1,13)..".png", false ) 
guiSetVisible ( image, false ) 
  
function headshot (ammo, killer, killerweapon, bodypart ) 
if (killer == localPlayer) and (killer ~= source ) then 
    guiSetVisible ( image, true ) 
    guiStaticImageLoadImage(image, "images/H"..math.random(1,13)..".png") 
    setTimer (guiSetVisible, 5000, 1, image, false ) 
    end 
end 
addEventHandler ( "onClientPlayerWasted", getRootElement(), headshot ) 

:D

Link to comment

pm from Dev-PoinT to me

i make this script, when you write rest the score will back to zero

what is the errors?

function xxx() 
outputChatBox("FormaT Score By^Dev-PoinT v1.0",255,255,0) 
addCommandHandler ( "rest",xxx ) 
setElementData ( killes, deaths 0) 
outputChatBox(..getPlayerName"Has Reset His Score To 0",255,255,0) 
  

:wink:

:lol: Dev Point ask what the errors :lol:

:lol: i think he means what is not errors :lol:

Link to comment

1= F u c k Y o u T a p l

2= if i have send you a Praivte Msg dont show it !

3= i have fix it befour 3 weaks !

4=

outputChatBox("Score_System By Dev-PoinT v1.0",255,255,0) 
outputChatBox("Use/rest to Rest your Score To 0",0,255,0) 
  
function rest(player) 
setElementData(player,"killes",0) 
setElementData(player,"deaths",0) 
setElementData(player,"dmg",0) 
setElementData(player,"Damage",0) 
end 
addCommandHandler("rest", rest) 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...