Jump to content

yoya99

Members
  • Posts

    271
  • Joined

  • Last visited

Everything posted by yoya99

  1. Mmh i dont understand the secnd part...can you give me an example?
  2. MH OK but i gues you have to tell me in a tutorial how this really works and how i can make more carmods inside
  3. yoya99

    dx help me pls

    it is but its modefied how you can see....
  4. yoya99

    dx help me pls

    I have to ask you if you want to get reportet now ....moderators should lock this topic...by th way i heard that xean is a con-man...a fiddler
  5. yoya99

    dx help me pls

    The exp_system of Castilo is complied , btw check this https://forum.multitheftauto.com/viewtopic.php?f ... 46#p743346 then check this too: https://wiki.multitheftauto.com/wiki/Re ... Exp_system
  6. yoya99

    dx help me pls

    that scripts are not stolen ...if you wuopld see that script is open community exp system from castillo ! so Fck you
  7. Hi there in my server i have too mayn car downloads, skins and shaders....is therea way to make for that files a background download system?So players can acess the whole game butwith a background downlaod for additional files like skins,cars and shaders? i saw that resource in the community: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3379 but i really dont have any idea how to do that helpp ppls
  8. yoya99

    dx help me pls

    You dont answer me pls correct the code here
  9. yoya99

    dx help me pls

    Doesnt work too anyone?
  10. hey there i have a problem....i want if a players gets xp or levels up to get a little text like on the left side +2xp for example or for example +Rank up......i have tried so many times to do it but i failed....here is my exp resource : function win(ammo, killer, weapon, bodypart) if (killer and getElementType(killer) == "player" and killer ~= source) then local H = getElementData(killer, "XP") or 5 local S = getElementData(killer, "Level") local killer1 = getPlayerName(killer) local noob = getPlayerName(source) local X = 1 setElementData(killer, "XP", tonumber(H)+X) local H = tonumber(H) + X if tonumber(H) == 2 then setElementData(killer, "Level", "Level 1 Reach:10 XP") elseif tonumber(H) == 5 then setElementData(killer, "Level", "Level 2 Reach:15 XP") elseif tonumber(H) == 10 then setElementData(killer, "Level", "Level 3 Reach:25 XP") And i tried that here: (i would be proud if someone fixes it complete : local sx, sy = guiGetScreenSize ( ) local y = sy + 20 function onLevelup() dxDrawRectangle(sx*(707/1024), sy*(425/768), sx*(115/1024), sy*(27/768), tocolor(44, 44, 44, 221), true) dxDrawText("Rank up+", sx*(716/1024), sy*(429/768), sx*(808/1024), sy*(448/768), tocolor(0, 255, 0, 221), 0.70, "bankgothic", "left", "top", false, false, true, false, false) end function onwin( ) if ( y > ( sy / 2 ) ) then y = y - 2 elseif ( y < ( sy / 2 ) ) then y = ( sy / 2 ) end dxDrawText ( "+"..tostring(experience).." XP", 550, y, sx, 40, tocolor(255, 255, 255, 255), 0.8, "bankgothic") end addEvent("onwin", true) addEventHandler( "onwin", root, function(expe) if not isTimer(expTimer) then expTimer = setTimer(function() removeEventHandler("onClientRender", root, onTestExp) end, 2000, 1) experience = expe addEventHandler("onClientRender", root, win) else experience = (experience + expe) resetTimer(expTimer) end end)
  11. yoya99

    carkill 1st

    what do you want?!
  12. yoya99

    help dx

    make it for me pls
  13. yoya99

    carkill 1st

    hey there i have a problem ....how about when a car driving players hits another player he gets wasted and his health is sets to 0 ?..So mean a carkillsystem
  14. yoya99

    count dxdraw

    Thank you much :DD solveddd
  15. yoya99

    count dxdraw

    viewtopic.php?f=91&t=81481 pls help (
  16. yoya99

    count dxdraw

    f### i am sorry i forgot the guigetscreensize.... thank you very much ...
  17. yoya99

    count dxdraw

    ye i am sure i just copied everything again but without the sound it was working fine O:O
  18. yoya99

    count dxdraw

    thx but its drawing me the text on the left top of the page...i only can see some ===
  19. yoya99

    count dxdraw

    client lua :9 attempt to concentate gloabal "soundid" a nil value
  20. yoya99

    count dxdraw

    thx but anyway to but the 4 soundfiles in there : 1.mp3, 2.mp3, 3.mp3 0.mp3 ??
  21. thx but GO! is not disappearing (
  22. yoya99

    count dxdraw

    in chat and on each screen yes
  23. alright now i only have 2 questions.... tha code here is woking but i want it in bankgothic on top of the screen and bigger and the GO! doesnt disappear,,,,,, sWidth, sHeight = nil, nil X, Y, Width, Height = nil, nil, nil, nil count = nil function pro() if count ~= 4 then dxDrawText( tostring(count), X, Y, Width, Height ) else dxDrawText( "GO!", X, Y, Width, Height ) end end function somethingfor() sWidth, sHeight = guiGetScreenSize() Width,Height = 10, 10 X = (sWidth/2) - (Width/2) Y = (sHeight/2) - (Height/2) addEventHandler("onClientRender", root, pro ) if getTickCount() - getTickStart > 0 and count == 0 then sound3 = playSound( "3.mp3", false ) setSoundMaxDistance( sound3, 5000 ) count = 3 elseif getTickCount() - getTickStart > 1000 and count == 3 then if sound3 and isElement(sound3) then stopSound( sound3 ) end sound2 = playSound( "2.mp3", false ) setSoundMaxDistance( sound2, 5000 ) count = 2 elseif getTickCount() - getTickStart > 2000 and count == 2 then if sound2 and isElement(sound2) then stopSound( sound2 ) end sound1 = playSound( "1.mp3", false ) setSoundMaxDistance( sound1, 5000 ) count = 1 elseif getTickCount() - getTickStart > 3000 and count == 1 then if sound1 and isElement(sound1) then stopSound( sound1 ) end sound0 = playSound( "0.mp3", false ) setSoundMaxDistance( sound0, 5000 ) count = 4 end end function GridCountdown() count = 0 getTickStart = getTickCount () addEventHandler( "onClientRender", getRootElement(), somethingfor) end addEvent ( "triggerclientforGridCountdown", true ) addEventHandler ( "triggerclientforGridCountdown", getRootElement(), GridCountdown )
  24. yoya99

    count dxdraw

    but i want only a screen text in bankgothic for this .(starts the countdown....3...2....1... GO GO GO
  25. its counts 1, 2, 3 ,4 (remove the 4 pls) and GO!! doesnt disappear... (
×
×
  • Create New...