-
Posts
3,267 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Tete omar
-
-- 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 )
-
هههه ما ركزت او انت عدلت على الكود قبل ما اطرح ردي المهم guiCreateLabel(347, 10, 598, 44, "][ " .. pn .. " ][ <|==|> دخل الى السيرفر ][ " .. w .. " ", false) من وين جبت pn ومن وين جبت w
-
استخدم onPlayerJoin onPlayerQuit وعطني نتيجة التركيب
-
فيه شي اسهل من string.find اقصد سياق الجملة يعني يمديك تسوي كذا micro = "Hello" if(micro:find("Hello"))then print("Hi") else print("No") end
-
انا عطيتك مثال ل تغيير الاسم عند الدخول اذا تبي ليبل استخدم guiSetText
-
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 )
-
string.find string.gsub استخدم ذولي
-
هذي ما يحتاج لها برمجة أصصلن
-
أفضل حل لزيادة سرعة النت هو اشتراك في شركة مضمونة مع سرعة عالية , ادعو جيرانك يشتركو معك مثلاً 73 ريال كل شهر على 70 ميقا , وتكون انت استدفدت وأفدت اللي جارك هذا اللي انا مسويه عندي
-
اعتقد سي اي تي ما يستخدمو LUACGUI يستخدمو مشفر lua آخر انا اعرفه بس مشفر قوي .. تركت LUACGUI واستخدم مشفر آخر
-
بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه يعني مثل ما هتلر قال "لا تجادل الاحمق"
-
لالا فيه ناس كذا تجي تقولك الملف ينفك تشفيره وهو أصلاً ما جرب ولا يعرف كيف يفك التشفير هذولي ناس الله يشفيهم ياخي انا استجهلهم عشان عارف انهم حمقى
-
لا ما تختفي اذا الاعب نزل وركب تصير ماركر ثاني صح انا ابغى ماركر واحد بس والله ما فهمت شي
-
تقصد يسوي ماركر للاعب عند ركوبه السيارة واذا نزل تختفي ؟
-
والله ما فهمت حرف من اللي تقوله
-
هه بس على اش ؟
-
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.
-
يب عشان اذا ما لقي الفايل يسويه مرة ثانية
-
لا انا كان قصدي انظم لك الكود وسويت لك بعض الاشياء مو شات بوكس وبس ^^
-
هلا نظمت لك الكود وسويت بعض الاشياء تشك ذس اوت http://www.4shared.com/zip/uTo0JeaB/res ... arter.html
-
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.
-
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.
