Jump to content

Hakan

Members
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    1

Hakan last won the day on May 17 2019

Hakan had the most liked content!

1 Follower

Recent Profile Visitors

543 profile views

Hakan's Achievements

Transformer

Transformer (11/54)

22

Reputation

  1. لو تنزلونها هنا احسن عشان يستفيدون غيركم
  2. اطرح لنا ملف السيرفر
  3. Hakan

    help

    bindKey ( "f1" , "down", function ( ) if ( getPlayerTeam ( localPlayer ) and getTeamName ( getPlayerTeam ( localPlayer ) ) == "TeamName" ) then -- your code else outputChatBox ( "You can't use this.",255,0,0,true) end end )
  4. Hakan

    Countdown234

    local sx,sy = guiGetScreenSize ( ) ; addEventHandler ( "onClientRender" , root , function ( ) if ( isTimer ( countdown ) ) then local seconds = math.floor ( getTimerDetails ( countdown ) / 1000 ) ; dxDrawText ( tostring ( seconds ) , 0 , 0 , sx , sy , tocolor ( 255 , 255 , 255 , 200 ) , 2 , "default-bold" , "center","center" ) end end ) جرب هذا الكود بشرط ان التايمر يكون بجانب الكلنت واسم التايمر countdown
  5. server side addCommandHandler ( "rsall" , function ( ) for k,v in ipairs ( getResources ( ) ) do if ( getResourceState ( v ) == "Running" ) then restartResource ( v ) end end end ) ;
  6. addEventHandler("onClientSoundStream",root,function ( Type , Length ) if ( source == mysound and Type ) then outputChatBox("Length: "..math.floor(Length)) end end)
  7. addEventHandler ( "onPlayerQuit" , root , function ( Type ) if ( Type == "Quit" or Type == "Kicked" ) then outputChatBox(getPlayerName(source).."#ffffff left ( "..tostring(Type).." )",root,255,255,255,true) end end ) ; هنا لو الاعب خرج بـ كيك او خرج من نفسه راح يكتب اسمه ووش خرج كيك او من نفسه
  8. جرب هذا الكود function onPreFunction( _, _, _, _, _, ... ) local args = { ... } ; if ( #args > 0 and args[1]:find ( "Debes" ) ) then return 'skip' end end addDebugHook( "preFunction", onPreFunction,{"outputChatBox"})
  9. Hakan

    كود

    ايوة اعرف بس كنت احسب ان لو استخدم addDebugHook واستخدمت return 'skip' انه يكنسل بس تأكدت , يعطيك العافية
  10. Hakan

    كود

    يقدر يوقف حدث الموت بـ استخدم preEvent .
  11. Hakan

    كود

    @HassoN يقدر بـ إستخدام addDebugHook
×
×
  • Create New...