Jump to content

فاّرس

Members
  • Posts

    4,805
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by فاّرس

  1. ما قلت لنا كم تبي السرعه ذذ ؟ + جرب كذا ذذ local marker = createMarker ( x + 2, y + 2, z, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler( "onMarkerHit", marker, function(player) if getElementType(player) == 'player' then setPedGravity(player,3) setGameSpeed(10) setTimer(function() setPedGravity(player,0.008) setGameSpeed(1) end,1000,1,player ) end end ) + x,y,z = مو معرفه ذذ
  2. تبي السرعه وهميه ولآ كل اللاعبين يشوفونه سريع ذذ ؟
  3. setGameSpeed خليها كلنت عشان تكون وهميه يعني للاعب نفسه اذا تبي كذا , واذا تبيها للكل حطها سيرفر ذذ , + ما فهمنا لك تبي الوقت لـ السرعه ولا الجاذبيه ؟ + الكود معفوس ذذ
  4. المفروض ما تنزل فنكشن لين تقول وش فايدته ذذ
  5. بما ان الموضوع انقلب هواش ذذ, قفل الموضوع , واي مشكله بكود اطرح موضوع جديد , + مو اي شيء ما تعرف له تنزل موضوع حاول ذذ ,
  6. في مواضيع كثير للـ XML انت بس ابحث فوق عن , - XML + شوف الموضوع هذا يفيدك , viewtopic.php?f=160&t=58750&p=560210&hilit=xmlLoadFile#p560210
  7. ^ لا تحطم الرجال , خليه يتعلم , حاول تنصحه مو تحطمه ذذ حتى لو كان نسخ ولصق هو الي ما بيستفيد,
  8. تصدق ما انتبهت للشرح , تم اضافته شكرآ للتنبيه , ذذ + الرجال يجي يقولنا كيف ويروح القيم الانجليزي خخ , مثل الكود حقه الي اول ذذ
  9. you say < SCRIPT ERROR: Gate1\Weapon.lua:1: unexpected symbo1 near'>'....Warning: Loading Script Failed: Gate1\weapon.lua:1: unexpected and this is not full code.
  10. ولا كأني معطيك كود , guiEditSetMasked ياليت انك كتبته عشان نصدق انك سويت شيء
  11. Okay Thanks i will try and tell you Thanks A lot...The Problem was from the Position of Function moveObject... Thanks for helping You're welcome.
  12. if you want the gate ' Down' and 'Up' why you make timer with another position ? move the gate 'Down' and make timer for 'Up'
  13. and what the error ? the error is timer short ? or what ?
  14. Sorry i'm cannot test it , but tell me when you write /open what happens ?
  15. The problem in your code , in the line 17 you need 'end' and can you tell me what do you want to do ?
  16. local gate = createObject ( 980, 2287,603.20001220703,12.60000038147,0,0,0) function MoveObject (thePlayer) local x, y, z = getElementPosition(thePlayer) local distance = getDistanceBetweenPoints3D(2287,603.20001220703,12.60000038147, x, y, z) if (distance <= 17) then moveObject (gate, 3000, 2200, 2287,603.20001220703,7) setTimer (moveBack, 4500, 1) else outputChatBox("You are too far away from the gate", thePlayer, 255, 0, 0) end end addCommandHandler ("open", MoveObject) function moveBack () moveObject (gate, 3000, 2287,603.20001220703,12.60000038147) end
  17. فاّرس

    help me

    Lol , why you write in the function ' killer' ? and this is the 2 argument, should be ' function(_,killer) '. And you must not want this. Try, addEventHandler("onPlayerWasted",root, function() local Team = getPlayerTeam(source) if Team then if Team == getTeamFromName('NoTeam') then spawnPlayer ( source, 1971.0981445313,-2159.1594238281,13.546875, 0, 1, 0, 0) setCameraTarget ( source, source) end end end ) this code : on the player wasted check the team , if team = NoTeam then spawn the player.
  18. I'm do not know where do you want the timer. But This example for timer setTimer(outputChatBox,1000,0,'Tested')
  19. لا تسوي قيم مود موجود , ذذ نصيحتي لك تسوي قيم مود جديد ومحد سواه عشان يكون السيرفر مميز واكيد بيكون في لاعبين كثير بإذن الله , وبالتوفيق ,
  20. مع احترامي لكم اسبوعين موب كفايه , وآسف ع اللقافه ذذ
  21. في خطأ بملف سيرفر ما انتبهت له ذذ , addEvent("Login",true) addEventHandler("Login",root, function( userName,Password ) local v = getAccount ( userName, Password ) if ( v ~= true) then logIn(client,v,Password) outputChatBox ( "Login with account : [ " .. userName .. " ]", client, 255, 255, 0 , true ) triggerClientEvent("onSpecialEvent",client) fadeCamera(source,true) else outputChatBox("Error : In login",client,255,255,255,true) end end ) function Join() fadeCamera(source,false) end addEventHandler("onPlayerJoin",root,Join) addEvent("Register",true) addEventHandler("Register",root, function(user,pass) Add = addAccount( user, pass ) if Add ~= false then outputChatBox ( "Thank you " .. getPlayerName(source) .. ", you're now registed, you can login with /login", source ) else outputChatBox ( "Error creating account, contact the server admin", source ) end end )
×
×
  • Create New...