Jump to content

Sora

Members
  • Posts

    698
  • Joined

  • Last visited

Everything posted by Sora

  1. yeah and it seems right , but the model id seems not exist
  2. hi .. i've found sa:mp maps not .map file , it's a code and it was like that CreateObject i changed it to createObject , and i thought it will work in mta:sa but it's gives me error bad argument @'createObject' [invalid model id] now my question is why does this error appear to me ? does the objects that are exist on sa:mp not exist on mta:sa ? or they are exist but locked for somereason? example : CreateObject(16780,1275.91296387,-1651.30603027,19.69000053,0.00000000,0.00000000,0.00000000)
  3. https://community.multitheftauto.com/ind ... ls&id=1152
  4. i agree this idea , but in a section inside of arabic forum like spanish forum viewforum.php?f=122
  5. هههههه والله انت دافوور رياضيات شوف انا ابغى يطلع كذا outputChatBox(" #7FFF00 timer : "..الثواني.." #7FFF00 seconds"..الدقائق.." #7FFF00 Minutes" , player, 255, 255, 255, true) ومخي انقلب من الرياضيات ابغاها بدون فواصل وشككرا .... والله مو دافور رياضيات بس تعلمتها والسبب البرمجه تقريباً .. اكمل معك بعد الصلاة برؤب # تعديل , شوف رد الاخ مجنون فيك تحت واعتذر على التاخير
  6. اخوي شوف مثال 60000 ملي ثانيه = 60 ثانيه 60 ثانيه = 1 دقيقه \ دقائق جرب تعمل 60000 / 60 / 1000 وشوف الناتج
  7. لا, تعكسها تقسمها على 60 وعلى 1000
  8. mine as well https://community.multitheftauto.com/ind ... ls&id=5931 DONE
  9. غلط وواضحح مشكؤؤر العفو هههههه ماركزت عليها بس كانت بالفعل من source لانك ماحددتها وايضاً لانك نسيت تحط # قبل كود اللون خخخخخخخخخخـ
  10. يب لانك ماحطيت # قبل كود اللون , والمشكله قبل كانت لانك كاتب source والsource مو محدد
  11. اخوي عدلت ردي ووضحته شوف فوق ^
  12. ابغى للاعب اللي كتب الامر وهذا الكود كامل timer = setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 20000, 1 ) addCommandHandler("timer", function ( ) remaining = getTimerDetails(timer) seconds = remaining * 1000 outputChatBox(" 7FFF00 timer : "..remaining.." 7FFF00 seconds", root, 255, 255, 255, true) end ) timer = setTimer ( function() end, 20000, 1 ) addCommandHandler("timer", function (player) remaining = getTimerDetails(timer) seconds = remaining / 1000 outputChatBox(" 7FFF00 timer : "..seconds.." 7FFF00 seconds", player, 255, 255, 255, true) end ) الوقت بالتايمر يكون بالملي ثانيه والملي ثانيه هي الثانيه مضروبه على 1000 والثانيه هي الملي ثانيه مقسومه على 1000
  13. وش حاط انت بالفنكشن الي ربطت فيها + تبي الكلام يطلع للكل ولا للاعب الي كتب الامر؟ addCommandHandler ؟
  14. .. ليه حذفت الرد اانا اقصد اذا كان مثلاً الوقت اللي حطيته انت 600000 -- تسوي متغير seconds = 0 -- تتاكد ما اذا كان الوقت المتبقي 600000 if remaining == 600000 then seconds = 600 end -- تحط قيمة 600 للثواني
  15. ههههههه جاك سبارو .. لول وش تبي تسوي بالضبط؟ .. تقدر تتاكد من عدد الثواني اذاكان 1000 , يصير المتغير 1 مثلاً seconds = 0 if remaining == 1000 then seconds = 1 end
  16. Should be: addCommandHandler( 'smod', assignSmodTeam ) sorry i wrote it with my own hands and didn't look carefully :\ #edited
  17. change the last line in the end of file addCommandHandler("smod,assignSmodTeam) to addCommandHandler("smod",assignSmodTeam)
  18. theTimer = setTimer(function() end, 1000, 10) -- تايمر مابيسوي شيء function timerDetails() remaining, executesRemaining, totalExecutes = getTimerDetails(theTimer) -- اخذ تفاصيل التايمر -- كم تبقى ,التكرارات المتبقيه, عدد التكرارات الكلي if (remaining and executesRemaining and totalExecutes) then outputChatBox("الوقت المتبقي في هذه الثانيه: "..remaining.." التكرارات المتبقيه: "..executesRemaining.." التكرارت الكلي: "..totalExecutes) else outputChatBox("المؤقت لم يعد موجوداً") end end addCommandHandler("timerdetails", timerDetails)
  19. serial = "XXXXXXXXXXXXXXXXX" if getPlayerSerial(player) == serial then -- do something end
  20. سوي قروب مخصص للي يقدر يفتح النافذه واستخدم هذا الفنكشن isObjectInACLGroup
  21. ^ ماحطيت الكود كامل وماعرف فين المشكله بالضبط :\ ياليت تحط الكود كامل + تعطيني نتائج /debugscript 3
  22. addCommandHandler( 'errorhpanel', function ( player ) if isObjectInACLGroup( 'user.'..getAccountName( getPlayerAccount( player ) ), aclGetGroup( 'RPC' ) ) or hasObjectPermissionTo( player, 'command.ACL', false ) then if not getElementData( player, 'HP_Opened' ) and not getElementData( player, 'mrk_in' ) then triggerClientEvent( player, 'HP_SetVisible', root, true ) end end end)
  23. شوف المثال في الويكي if hasObjectPermissionTo ( player, "resource.YourResourceName.accessPrivateArea", false ) then -- اي شيء تبيه يحصل اذا كان مسموح else -- اي شيء تبيه يحصل اذا كان غير مسموح end + اطرح الكود كامل
  24. if hasObjectPermissionTo( player, "command.ACL", false) تم التصحيح عذراً
  25. افف لهذي الدرجه ماتقدر حتى تبدل function.banPlayer ب command.ACL -___________-
×
×
  • Create New...