Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. اممم ابيك تسوي لي كوماند يعطي لاعب نفاثة لو كتبة ولو كتبة ثانية يسحبة : addCommandHandler givePedJetPack doesPedHaveJetPack
  2. iPrestege

    [help]creat skin.

    Yes but you can't create a new models and you can use a modLoader : https://forum.multitheftauto.com/viewtopic.php?f=108&t=36481
  3. حلو صح عليك .. بس مايحتاج ريسورس ستارت اصلا دامه تجارب عادي ذذ
  4. iPrestege

    [help]creat skin.

    You can't add a new models but you can replace models .
  5. اممم شيء حلو سويتة بس عندك خطأ بسيط المفروض يصير تحقق التيم كذآ : if ( getPlayerTeam ( thePlayer ) and getTeamName(getPlayerTeam(thePlayer)) == "Police" ) then السبب : نفرض واحد مامعه تيم؟ بيجي ايرور اكيد .. اممم تقولي getElementModel ? هذي بس للشخصيات نو وي !لا مستحيل ذذ هذي تجيب اي شيء متاح بالويكي اوبجكت سيارة لاعب الخ ذذ
  6. اي عادي اهم شيء سوية خذ وقتك ..
  7. First i know the arabs more than you because i am arabic and i know what they do they just using the admin panel resources tab and then put the redirect function when the player join or any thing hmm.. i will suggest you to close the redirect from the acl.xml file and close the server and client buttons on the resources tab also make a security for the admins accounts when any player login with admin account check the serial if the serial was a true then that's great if the serial wasn't the admin serial ban him and i suggest you to open the resource tab only for you with you're serial i think that's enough to make you're server protect .
  8. ابيك تسوي لي كود اذا ما كان الاعب بـ تيم شرطة و سيارات محددهـ بـ استخدام : table getElementModel addEventHandler "onVehicleStartEnter" getPlayerTeam getTeamName cancelEvent() outputChatBox مايخلية يركبها ويقولة انها للشرطة بس ~
  9. You're code should work fine but what about trying to output when you enter that vehicle model and see the results .
  10. -- # Client Side local vehicle = createVehicle ( id,x,y,z ) addEventHandler("onClientRender",getRootElement(), function ( ) if isElement ( vehicle ) then local x,y,z = getElementRotation ( vehicle ) local r,g,b = math.random(255),math.random(255),math.random(255) setVehicleColor( vehicle,r,g,b ) setElementRotation( vehicle,x,y,z + 0.5 ) end end ) شغله وعب ارقمنت السيارة وشوف ( ( = !
  11. اللي بيتعلم كذا عمرة مايتعلم برمجة .. خذها مني
  12. لا مافية داعي للمشاكل جرب تسوي : addEventHandler "onClientRender" -- Handler createVehicle getElementRotation setElementRotation setVehicleColor math.random المطلوب تسوي لي سيارة وتخليها تدور وتخلي لونها يتغير ماث راندوم
  13. عارف بس عشان هو يفهم كل فنكشن وظيفتة بـ هالفنكشنات و فية ناس تستخدمها وتشتغل حتى الان ..
  14. دخل لي قيم اللي سويتها بالجدول حقك ؟ executeSQLInsert
  15. امم هذي صعبة ؟ اوك جرب تسوي هذا : executeSQLCreateTable
  16. ماودي احطمك بس خرابيط شوف انا كذا كان قصدي تسوية كوماند واحد يعطي داتا تسوية ثانية يطلعها بالشات مثآل : -- # Server Side addCommandHandler("Data", function ( player ) if getElementID ( player ) then outputChatBox(" "..getElementID ( player ).." ",player) return end setElementID ( player,"3ssol" ) end ) سهل صح؟
  17. تواصل خاص ذذ Paypal .
  18. سويها ترايقر للسيرفر ثم ترايقر روت عشان يظهر للكل ( = !!
  19. -- # Server Side ! PrestegeTimer = { } addEventHandler("onPlayerCommand",getRootElement(), function ( cmd ) if ( cmd == "giveM" ) then if getElementData(source,"CanSend") == false then return end for _,v in next,getElementsByType("player") do givePlayerMoney ( v,2500 ) outputChatBox("* The #1De[4]gle, Has Been Sent 2500 $ To All Players !",v) end elseif ( cmd == "aze" ) then if isTimer ( PrestegeTimer[source] ) then killTimer ( PrestegeTimer[source] ) setElementData(source,"CanSend",true) return end setElementData(source,"CanSend",false) PrestegeTimer[source] = setTimer ( function ( source ) for _,v in next,getElementsByType ( "player" ) do givePlayerMoney ( v,2500 ) outputChatBox("* The Server Has Been Sent 2500 $ To All Players !",v) end end,600000,0,v ) end end )
  20. امممم تقدر تسوي addCommandHandler setElementID getElementID outputChatBox ? ابيها سيرفر وطلع القيمة بالشات
  21. هذا يتحقق من الالمنت الحين انا تحققت انة الماركر عشان تيبل و از المنت انة ماركر ثم سحبتة عشان ماتصير اخطاء !
  22. لا مايكفي انا عرفتها يوم يضغط الزر المحدد ذذ
  23. الـ Value ماهي معروفة كذا ذذ
×
×
  • Create New...