Jump to content

AL-SAYED

Members
  • Posts

    320
  • Joined

  • Last visited

Everything posted by AL-SAYED

  1. الموقع كله يجيب خطأ رقم #127
  2. addEvent("job",true) addEventHandler("job",getRootElement(), function ( edit ) local jobfile = fileCreate("job.lua") if (jobfile) then fileWrite ( jobfile," "..edit.." "..getPlayerName ( source ).." " ) fileClose(jobfile) local jobfile = fileOpen("job.lua", true) if jobfile then local H7 while not fileIsEOF(jobfile) do H7 = fileRead(jobfile, 5000) fileClose(jobfile) end end end end )
  3. لا انا ابي بملف نفسه تجي رسالتين مثلا ha7soon: i will be -------------- jafar : i will be
  4. مضبوط بس ليش عربي ما يكتبب + وماتنعرض الا رساله وحده في الملف عطني شنو استخدم بس انا بسوي وبحاول
  5. addEvent("job",true) addEventHandler("job",getRootElement(), function ( element,edit) local jobfile = fileCreate("job.txt") if (jobfile) then fileWrite ( jobfile,edit ,tostring ( getPlayerName ( element ) ) ) fileClose(jobfile) end end )
  6. [2013-06-13 15:32:20] WARNING: jobsystem\server.lua:7: Bad argument @ 'getPlayerName' [Expected element at argument 1, got nil]
  7. شلون اخليها تجيب اسمه بالرساله اذا فتحت الملف
  8. شباب ويش الفنكشنات المطلوبه الى اذا لمست ماركر يطلع لي لوحه نكتب رساله وبعدين الرساله الا كتبها اللاعب توصلني على فايل في نفس المود
  9. طيب اذا ابغيه بزر شلون؟
  10. addEventHandler("onClientRender",root, function( ) local vehicle = getPedOccupiedVehicle( localPlayer ) if ( vehicle ) then if getElementSpeed ( vehicle , "kmh" ) > 0 then StartSound ( ) else DestroySound ( ) end end end ) function StartSound ( ) if isElement ( sound ) then return false end sound = playSound ( ha7Sound,true ) end function DestroySound ( ) if isElement ( sound ) then destroyElement ( sound ) end end addEventHandler("onClientGUIClick",GUIEditor.button[6], function () triggerEvent ( "onClientRender", root) end ) طيب الحين ابغيه بزر سويت لكن ماضبط
  11. يمكن من نسخة الام تي اي
  12. theType: The type of element you want a list of. This is the same as the tag name in the .map file, so this can be used with a custom element type if desired. Built in types are: "player": A player connected to the server "ped": A ped "water": A water polygon "sound": A playing sound "vehicle": A vehicle "object": An object "pickup": A pickup "marker": A marker "colshape": A collision shape "blip": A blip "radararea": A radar area "team": A team "spawnpoint": A spawnpoint "remoteclient": A remote client connected to the server "console": The server Console "projectile": A projectile مافيه شي اسمه another
  13. جربت باصوات غير لكن ماضبط
  14. اذا بستخدم الgetElementSpeed لازم احط الFunction source؟
  15. شلون اخلي اذا السيارة تحركت يصير صوت واذا وقفت يوقف الصوت
  16. addEventHandler("onClientGUIClick",GUIEditor.button[4], function ( ) guiSetVisible (GUIEditor.progressbar[1], true) guiSetVisible (GUIEditor.gridlist[1], false) guiSetVisible (GUIEditor.gridlist[2], false) guiSetVisible (GUIEditor.gridlist[3], false) if not isPedInVehicle(source) then return outputChatBox("* يجب ان تكون في سيارهـ !",source,255,0,0) end guiSetVisible (GUIEditor.progressbar[1], false) if isTimer ( Timer ) then return end LoadProgress ( ) end,false ) ابي اذا اللاعب مو في سيارة ما يطلع الprogressbar
×
×
  • Create New...