Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. -- Client Side join = guiCreateLabel(347, 10, 598, 44, "", false) guiSetFont(join, guiCreateFont("TD[M]ER.ttf", 13)) guiSetProperty(join, "Disabled", "True") guiSetVisible(join,false) quit = guiCreateLabel(347, 64, 598, 44, "", false) guiSetFont(quit, guiCreateFont("TD[M]ER.ttf", 13)) guiSetProperty(quit, "Disabled", "True") guiSetVisible(quit,false) function Color ( ) guiLabelSetColor ( join, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) guiLabelSetColor ( quit, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( Color, 100, 0 ) addEventHandler ( "onClientPlayerJoin", root, function ( ) guiSetVisible(join,true) guiSetText ( join, "][ " ..getPlayerName(source):gsub("#%x%x%x%x%x%x", "").. " ][ <|==|> دخل الى السيرفر ][ " ) setTimer(guiSetVisible,5000,1,join,false) end ) addEventHandler ( "onClientPlayerQuit", root, function ( reason ) guiSetVisible(quit,true) guiSetText ( quit,"][ " ..getPlayerName(source):gsub("#%x%x%x%x%x%x", "").. " ][ <|==|> خرج من السيرفر [ "..reason.." ] ") setTimer(guiSetVisible,5000,1,quit,false) end )
  2. هههه ما ركزت او انت عدلت على الكود قبل ما اطرح ردي المهم guiCreateLabel(347, 10, 598, 44, "][ " .. pn .. " ][ <|==|> دخل الى السيرفر ][ " .. w .. " ", false) من وين جبت pn ومن وين جبت w
  3. استخدم onPlayerJoin onPlayerQuit وعطني نتيجة التركيب
  4. فيه شي اسهل من string.find اقصد سياق الجملة يعني يمديك تسوي كذا micro = "Hello" if(micro:find("Hello"))then print("Hi") else print("No") end
  5. انا عطيتك مثال ل تغيير الاسم عند الدخول اذا تبي ليبل استخدم guiSetText
  6. addEventHandler("onPlayerJoin",root, function() local name=getPlayerName(source) local removeHexCode=string.find(name,'#%x%x%x%x%x%x') if(removeHexCode)then setPlayerName(source,string.gsub(name,"#%x%x%x%x%x%x","")) end end )
  7. string.find string.gsub استخدم ذولي
  8. هذي ما يحتاج لها برمجة أصصلن
  9. أفضل حل لزيادة سرعة النت هو اشتراك في شركة مضمونة مع سرعة عالية , ادعو جيرانك يشتركو معك مثلاً 73 ريال كل شهر على 70 ميقا , وتكون انت استدفدت وأفدت اللي جارك هذا اللي انا مسويه عندي
  10. اعتقد سي اي تي ما يستخدمو LUACGUI يستخدمو مشفر lua آخر انا اعرفه بس مشفر قوي .. تركت LUACGUI واستخدم مشفر آخر
  11. بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه يعني مثل ما هتلر قال "لا تجادل الاحمق"
  12. لالا فيه ناس كذا تجي تقولك الملف ينفك تشفيره وهو أصلاً ما جرب ولا يعرف كيف يفك التشفير هذولي ناس الله يشفيهم ياخي انا استجهلهم عشان عارف انهم حمقى
  13. لا ما تختفي اذا الاعب نزل وركب تصير ماركر ثاني صح انا ابغى ماركر واحد بس والله ما فهمت شي
  14. تقصد يسوي ماركر للاعب عند ركوبه السيارة واذا نزل تختفي ؟
  15. والله ما فهمت حرف من اللي تقوله
  16. ما فهمت , اشرح أكثر
  17. I downloaded it. when i start the program it opens normally but when i type something wrong lua syntax checker dosen't work, just see this image and you will understand http://img51.imageshack.us/img51/9817/68169058.png but 'root' is a predefined variable as 'getRootElement()' anyway , i think you shall turn on syntax checker , i don't have this feature too.
  18. لا انا كان قصدي انظم لك الكود وسويت لك بعض الاشياء مو شات بوكس وبس ^^
  19. هلا نظمت لك الكود وسويت بعض الاشياء تشك ذس اوت http://www.4shared.com/zip/uTo0JeaB/res ... arter.html
  20. I made a little example for you here you go : function Weapon_example() local weapon = getPedWeapon(localPlayer) -- gets your current weapon in hands local ammo = getPedTotalAmmo(localPlayer) -- gets the current weapon ammo local ammoInClip = getPedAmmoInClip(localPlayer) -- gets the current weapon ammo in clip if(weapon~=0)then -- if the weapon isn't [fist] then outputChatBox("You're carrying "..getWeaponNameFromID(weapon).." and the ammo is "..ammo.."-"..ammoInClip) -- outputs your weapon info end end addCommandHandler("myWeapon",Weapon_example) -- adds 'myWeapon' as a command that you can type in the console[f8] switch to some weapon and just type in the console myWeapon.
  21. That depends on where have you downloaded this vehicle from ? , and modloader is just loading the model you have assigned to afaik, you have to download another vehicle from a better source.
×
×
  • Create New...