Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. @ yazan : المفروض تنتضر لين يروح الموضوع لقسمه المناسب + تساعده مو تعطيه كود جاهز + تتأكد من أكوادك قبل لا تطرحها @ The Best : ! تبي توريه أخطاءه وريه بأدب, مو تسب فيه كذا ! ترى حتى أنا و إنت في يوم كنا أغشم منه
  2. .. لو صبرتوا شوي, يمكن كان راح يعدله و يتعلم
  3. PaiN^

    Help Time

    Errors : - playeraccount is not defined . - The source of 'onResourceStart' is the root element in the resource that started, Not a player element You should do a 'for' loop, Get all players, Check there accounts' data, And then set there data if it was found .
  4. أغلاطك : - حاط أرجمنت اللاعب في البيند كي في ملف كلنت - مسوي البند لصناعة النوافذ مو لإضهارها و إخفائها
  5. تصدق توي انتبهت لشي الموضوع شطح من أساسه ذذ نصيحتي لصاحب الموضوع : إتعلم الشي إللي سويت الموضوع عشانه, عشان لا تتعقد حبة حبة و مع الوقت بتتعلم كل شي بإذن الله @ Prestege : أنا كملت على ردي فوق ^
  6. PaiN^

    Help Time

    You need to make a different function for the 'onResourceStart' event. Because it have different arguments .
  7. Freeroam resource is scripted in a different way . If you aren't expert in scripting, I don't recommend modifying it .
  8. مو لازم جدول local k = '#iR4y[b]ak' function output ( ) outputChatBox ( k ) end addEventHandler ( 'onResourceStart', resourceRoot, output )
  9. serreqwfewqfwfewq.dsqadfwqfq server.lua dwqqdsadsadw.dwqq dfsadfw.fewgd ^ هذي كلها تضبط دام مافي مسافات الصيغة الوحيد + الإسم الوحيد إللي ما تقدر تغيره هو الميتا غير كذا مداك تسوي زي ما تبي
  10. إللي لمس الماركر player لآنك تبي تسوي حدث التريقر لعنصر كمان localPlayer مدري و الله يمكن تضبط مع
  11. لها قيمة معرفة, بتطلع قيمتها بالشات k لو الـ أما لو مالها قيمة زي ما قال برستيج
  12. الصيغعة مو مهمة + lau مو lua اللغة إسمها + إسم الملف مو مهم, دام ما فيه مسافات أو أحرف عربية أو أشياء اللعبة ما تتعرف عليها
  13. غلط في التريقر ^ localPlayer × player
  14. addEventHandler ( 'onClientPlayerWeaponFire', root, function ( weapon, ammo, ammoInClip ) local x,y,z = getElementPosition ( source ) if weapon == 22 then local sound = playSound3D ( 'hg.mp3', x, y, z ) setSoundVolume ( sound, 10 ) setSoundMaxDistance ( sound, 75 ) createExplosion ( x, y, z - 0.2, 2, false, true, false ) end end )
  15. ما ينفع تحط مسافات في إسم المجلد أو الملف المضغوط أما في الميتا عادي
  16. المود يطلعلك في لوحة الآدمن ؟
  17. لا تسوي ردود ورا بعض, عدل على رد واحد + الخطأ في ملف الميتا, المود ما تحمل من أساسه > author="al-prns7" type="script" name="login admin" description="hmay admin" /> ="server.lua" />> + كودك فيه أغلاط, راجع الويكي و إقرأ الأرقمنت في حدث الدخول لحساب
  18. PaiN^

    Interiors

    Still don't understand Dx If you can speak any other language search for it in the sub-forums > here
  19. إقرأ الأرجمنت posX,posY,posZ: float starting coordinates for the projectile. They are coordinates of creator by default
  20. PaiN^

    Interiors

    I didn't understand you .
  21. Things you'll need : -- Events : 'onPlayerLogin' 'onPlayerLogout' -- Functions : getPlayerAccount isGuestAccount getPlayerMoney getElementPosition getPlayerWeapon getPedTotalAmmo setAccountData getAccountData giveWeapon setElementPosition givePlayerMoney
  22. PaiN^

    Interiors

    So you want to re-create them at the same spot ? If so, Use : createObject setElementInterior
  23. PaiN^

    Learning Lua

    These are some topics that may help you to learn Lua : - viewtopic.php?f=148&t=40809 - viewtopic.php?f=91&t=39678 And don't forget to visit the wiki every time you need help with any function =) .
  24. Skin : https://community.multitheftauto.com/index.php?p=resources&s=details&id=7087 DONE
  25. PaiN^

    Interiors

    You want to make elevators inside interiors right ? If so, Show us the code where you create that elevator . If not, Explain better please .
×
×
  • Create New...