Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. iPrestege

    help

    local marker = createMarker addEventHandler -- on hit, function if getElementType then bindKey end end ) addEventHandler -- on leave, function if getElementType then unbindKey end end ) function -- on anwer the call from the key -- WTF end
  2. addEventHandler('onClientPedDamage',ped,cancelEvent)
  3. الحدث : onClientRender الوظائف : dxDrawText addEventHandler removeEventHandler setTimer
  4. ok change the root to the ped ver.
  5. He can use getElementsByType to get all ped's element's in the resource. or defined that ped he want .
  6. Fine, Change on player damage to on ped damage also localPlayer to root .
  7. تعلم [= يوم تجي لـ ام تي اي كنت عارف برمجتها سهله؟ كانت صعبه للبعض أو الأغلب لأنها جديدهـ عليه [=
  8. I have the same problem too win 8 -_-" i can't start my PC .
  9. Also add more than a 'localPlayer' When you call server . Ex : triggerServerEvent( "Server4", localPlayer,localPlayer )
  10. -- Ex : -- Client : addEventHandler('onClientGUIClick',gElement, -- gElement : يوم تضغط الزر بـ هالمتغير function ( ) -- وظيفة triggerServerEvent ( 'on:Call:Server:1',localPlayer ) -- اتصال بـ السيرفر end,false )
  11. Player source - Player element : Not defined -_-"!
  12. OK Create your gui then : click button : onClientGUIClick' Event triggerServerEvent -- Connect To The Server addEvent addEventHandler -- To Accept The Call : ) redirectPlayer -- There's no need for a comment about this right lol!
  13. You can ask mta team to accept this format with dx - gui font's .
  14. Could you try to use true type font and if it works then i guess mta doesn't accept the 'otf' Format .
  15. function enterVehicle ( thePlayer, seat, jacked ) local team = getPlayerTeam ( thePlayer ) if not team then return end local p = getTeamName ( team ) if p and p ~= "xd" then cancelEvent ( ) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )
  16. I'm not sure if mta accept 'otf' Format.
  17. onClientGUIClick اللي اقصدة و حبيت اوضحة طريقتك خطأ * خطأ ذذ لآنة الحدث : onClientGUIClick Parameters : لة من الأصل string button, string state, int absoluteX, int absoluteY أنت ضفت الحدث : onClientGUIClick مع اضافة الايديت و الاعب ؟ مآيصلح لآنة لة بـ الأصل بـيحصل اخطاء ..
  18. # لا لا لا غير شي ذي # شوف ذا المثال وانشاء الله بتفهم local Edit = guiGetText(Edit1) function ZA7F ( player, Edit ) if tonumber ( Edit ) then # نجيب الرقم من الايديت givePlayerMoney ( player, Edit ) # نعطيه للاعب فلوس من رقم الي مكتوب بالايدت return true # ارجاع الظيفة ترو else # لو ما كان الرقم الي جبناه من الايديت return false # ارجاع الوظيفة فلس end end addEventHandler ("onClientGUIClick", root, ZA7F) XxX >< > تستخدم حدث له بارتمنت من الاصل نو WAY ;P
  19. تبي تسوي لة سباون وهو ماهو بتيم يعني ؟
×
×
  • Create New...