^Dev-PoinT^ Posted November 2, 2011 Posted November 2, 2011 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 )
HoLsTeN Posted November 3, 2011 Posted November 3, 2011 you stil steal the cods https://forum.multitheftauto.com/viewtopic.php?f=91&t=34730 see what castilo do and what is the erors ?
HoLsTeN Posted November 3, 2011 Posted November 3, 2011 in other topic i think some one say dont take the others code and say it yours and devpoint he not steal he is just want to steal all my ideas
^Dev-PoinT^ Posted November 3, 2011 Author Posted November 3, 2011 Holsten = BlaBlaBla stop the mombo jombo Thin
TAPL Posted November 3, 2011 Posted November 3, 2011 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) Dev Point ask what the errors i think he means what is not errors
FatalTerror Posted November 3, 2011 Posted November 3, 2011 Wow I'have found 6 errors and you ? addCommandHandler("reset", function(thePlayer) setElementData(thePlayer, "kills", 0) outputChatBox(getPlayerName(thePlayer).." has reset his stats !", getRootElement(), 255, 255, 255, true) end)
^Dev-PoinT^ Posted November 3, 2011 Author Posted November 3, 2011 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)
12p Posted November 3, 2011 Posted November 3, 2011 1. DON'T USE THOSE WORDS PLEASE! 2. It's "reset", not "rest". Rest is similar to sleep, bed, zzzzzzz, etc 3. So it works? What is the problem now?
^Dev-PoinT^ Posted November 3, 2011 Author Posted November 3, 2011 no thing Benxamix2 but the noon tapl i have send to him a private msg about reset source script and he is show it to every one to tell them iam noob but god well take my reveang thx close topic
Recommended Posts