IIIIlllllIII
Members-
Posts
201 -
Joined
Everything posted by IIIIlllllIII
-
yes that is true you fixed before the code is working great and now when i test it i have error with it
-
make sure you helped me you dont know how to script work so if you not sure pleez dont give me wrong script and make sure you give me the code here thanks
-
function damageCheck(attacker, weapon) if(weapon == 5)then triggerServerEvent("movePlayerOnBatHit", getLocalPlayer()) end end addEventHandler("onClientPlayerDamage", getRootElement(), damageCheck) ==================== try this and tell me
-
الله يهديك ياديف بوينت مسوي فاهم خخخخخخخ ارحب yes sure i added the script on admin group
-
hi i make shop and i have a small problem i want show ip and serial and ping on info tab i try to make it but the script give me nil or error like your serial : nil your ping : nil your ip : nil pleez fix this this code client said tab1 = guiCreateTab("Info",tabPanel) playerPingLabel = guiCreateLabel(8,165,320,18,"Your Ping:",false,tab1) guiLabelSetColor(playerPingLabel,255,255,0) playerIPLabel = guiCreateLabel(8,190,320,18,"Your IP: ",false,tab1) guiLabelSetColor(playerIPLabel,255,255,0) playerSrLabel = guiCreateLabel(8,211,320,18,"Your Serial: ",false,tab1) guiLabelSetColor(playerSrLabel,255,255,0) -------------------------------------------------------------------- guiSetText ( playerSrLabel, "Your serial: " ..tostring(srs).. " " ,true,tab1) guiSetText ( playerPingLabel, "Your Ping: " ..tostring(ping).. " " ,true,tab1) guiSetText ( playerIPLabel, "Your ip: " ..tostring(ips).. " " ,true,tab1) local ping = getElementData ( getLocalPlayer(), "ping" ,true) local ips = getElementData ( getLocalPlayer(), "ips" ,true) local srs = getElementData ( getLocalPlayer(), "srs" ,true) server sid addEventHandler("onPlayerJoin",root, function() ping = getPlayerPing(source) money = getPlayerMoney(source) ips = getPlayerIP(source) srs = getPlayerSerial(source) setElementData(source,"ping",ping) setElementData(source,"money",money) setElementData(source,"ips",ips) setElementData(source,"srs",srs) end )
-
هذا شوب ياشباب من صنعي جاهز ويمكنكم التعديل عليه والتطوير عاد مافيه شي يجيكم بارد مبرد لازم تتعلمون تضيفون خصائص في الشوب وانا ضفت جميع الاسلحه كل ماعليكم تضيفون تاب جديد مثل الشوب tab وتسمون shop وتضيفون ازرار زياده مثثل weapbutton_21 كملو الازرار واضيفو الازرار في الكلنت وضعو سطر جديد في السيرفر وكملو الباقي وهذا الشوب بدون تشفير http://www.mediafire.com/?59434rghdnt79jj يالله سلام لاحد يقولي كيف وكيف
-
ابشر ماطلبت شي لازم تتعلم بنفسك لان الناس تتعب وتسوي وانت مشالله عليك تبي كل شي بارد مبرد لازم تتعلم وخذا هذي الاكواد بدون تشفير رح عدل عليها وطورها الكلنت client root = getRootElement() localPlayer = getLocalPlayer() outputChatBox("#ffffff=shop panel by MOJRM-511 | #00ff00Press F2 To Open it =",0,255,0,true) shopWindow = guiCreateWindow(170,50,530,510,"shop panel by MOJRM-511 ",false) guiSetVisible (shopWindow, false) guiWindowSetSizable(shopWindow,false) guiWindowSetMovable(shopWindow,true) tabPanel = guiCreateTabPanel(11,23,599,499,false,shopWindow) ------------------------------------------------------------------------------------------------------- tab2 = guiCreateTab("buy weapons",tabPanel) --------- ????? 1 -line 1 ------------------------------------------------------------------------------------ guiCreateStaticImage( 10,10,90,75, "weapon/24.png", false,tab2 ) weapButton_1 = guiCreateButton(10,80,90,30,"$150 deagle",false,tab2) guiCreateStaticImage( 110,10,90,75, "weapon/31.png", false,tab2 ) weapButton_2 = guiCreateButton(110,80,90,30,"$250 M4",false,tab2) --------------------------------- guiCreateStaticImage( 210,10,90,75, "weapon/16.png", false,tab2 ) weapButton_3 = guiCreateButton(210,80,90,30,"$1500 Grenade ",false,tab2) --------------------------------- guiCreateStaticImage( 310,10,90,75, "weapon/30.png", false,tab2 ) weapButton_4 = guiCreateButton(310,80,90,30,"$200 AK-47",false,tab2) -------------------------------- guiCreateStaticImage( 410,10,90,75, "weapon/29.png", false,tab2 ) weapButton_5 = guiCreateButton(410,80,90,30,"$150 mp5",false,tab2) -------------------------2 ?????----------------------------------------------------------------------------------------------------------- guiCreateStaticImage( 10,110,90,80, "weapon/32.png", false,tab2 ) weapButton_6 = guiCreateButton(10,190,90,30,"$450 TEC-9",false,tab2 ) guiCreateStaticImage( 110,110,90,80, "weapon/34.png", false,tab2 ) weapButton_7 = guiCreateButton(110,190,90,30,"$250 Sniper",false,tab2) guiCreateStaticImage( 210,110,90,80, "weapon/28.png", false,tab2 ) weapButton_8 = guiCreateButton(210,190,90,30,"$400 Uzi",false,tab2) guiCreateStaticImage( 310,110,90,80, "weapon/46.png", false,tab2 ) weapButton_9 = guiCreateButton(310,190,90,30,"$250 Parachute ",false,tab2) guiCreateStaticImage( 410,110,90,80, "weapon/25.png", false,tab2 ) weapButton_10 = guiCreateButton(410,190,90,30,"$200 ShotGun",false,tab2) -------------------------------------------------------------------------- line 3 guiCreateStaticImage( 10,220,90,80, "weapon/26.png", false,tab2 ) weapButton_11 = guiCreateButton(10,300,90,30,"$700 Sawn-Off",false,tab2 ) guiCreateStaticImage( 110,220,90,80, "weapon/27.png", false,tab2 ) weapButton_12 = guiCreateButton(110,300,90,30,"$650 Combat",false,tab2 ) guiCreateStaticImage( 210,220,90,80, "weapon/4.png", false,tab2 ) weapButton_13 = guiCreateButton(210,300,90,30,"$500 Knif",false,tab2 ) guiCreateStaticImage( 310,220,90,80, "weapon/22.png", false,tab2 ) weapButton_14 = guiCreateButton(310,300,90,30,"$200 Pistol",false,tab2 ) guiCreateStaticImage( 410,220,90,80, "weapon/9.png", false,tab2 ) weapButton_15 = guiCreateButton(410,300,90,30,"$400 Chainsaw",false,tab2 ) --------------------------------------------------------------------------------------line 4 guiCreateStaticImage( 10,330,90,80, "weapon/17.png", false,tab2 ) weapButton_16 = guiCreateButton(10,410,90,30,"$1200 Tear Gas",false,tab2 ) guiCreateStaticImage( 110,330,90,80, "weapon/42.png", false,tab2 ) weapButton_17 = guiCreateButton(110,410,90,30,"$400 Fire Extinguisher",false,tab2 ) guiCreateStaticImage( 210,330,90,80, "weapon/23.png", false,tab2 ) weapButton_18 = guiCreateButton(210,410,90,30,"$100 Silenced Pistol",false,tab2 ) guiCreateStaticImage( 310,330,90,80, "weapon/39.png", false,tab2 ) weapButton_19 = guiCreateButton(310,410,90,30,"$1800 Satchel Charges",false,tab2 ) guiCreateStaticImage( 410,330,90,80, "weapon/38.png", false,tab2 ) weapButton_20 = guiCreateButton(410,410,90,30,"$3000 minigun",false,tab2 ) --------------------------------------الشوب-------------------------------------------------3tab tab3 = guiCreateTab("shop",tabPanel) --------------------------------------------------------------------------------------------------------- -------------------------------- ----------------------------------------------------------------------------------------------------------- bindKey ( "F2" , "down" , function() if ( guiGetVisible ( shopWindow ) == true ) then guiSetVisible ( shopWindow ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( shopWindow ) == false ) then guiSetVisible ( shopWindow ,true ) showCursor (false ) guiSetInputEnabled(true) playSound("MOJRM-511.mp3") end end ) ------------------------------------------------------------------------------------------------------ -------------------------------------------------------------------بدايه ربط الازرار بالسيرفر server---------- addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_1 ) then triggerServerEvent("gived",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_2 ) then triggerServerEvent("givem4",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_3 ) then triggerServerEvent("givegrn",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_4 ) then triggerServerEvent("givemk",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_5 ) then triggerServerEvent("givemp5",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == weapButton_6 ) then triggerServerEvent("TEC-9",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(),
-
hi since 3 days im trying to make this script work but all my trys not works and i wanna make when you buy weapon like grande hear the sound see the code firs this client said ========================================== function onClientPlayerWeaponFire ( weapon ) if weapon == 16 then playSound ( "m.mp3", false ) end end addEventHandler ( "onClientPlayerWeaponFire", getRootElement(), onClientPlayerWeaponFire ) ================================================== i wanna when i buy the grande all players hear the sound when i buy it i hope you understand me i try to make it work and all players hear the sound m.mp3 pleez help
-
thank you i will test that
-
hi i wanna when i press the button remove jetpack i have error with this code ( nil value) this the code client said ======================== function toggleJetPack() removePedJetPack(source) end bindKey('j', 'down', toggleJetPack) =========================== pleez how i make the jetpack remove with button j i have error
-
i dont wanna lett it back i wanna all the map be invisible no time to end and it is work but i wanna the armor i make all is good health and invisible is great but i wanna the armor where i find it and superbullit give me the code pleez
-
thanks so mutch مشكور ويرحم الله والديك وجزاك الله خير ياصديقي
-
>>>>>>???
-
wtf wtf man i cant understand the fucking syntax bool setElementAlpha ( element theElement, int alpha ) that that mean i try to understand that but i cant give me all code pleez server said and client for health and invisible and armur and repair pleeez
-
thanks did you mean to buy health the code like that function hp ( sourcePlayer, targetPlayerName ) local targetPlayer = getPlayerFromNick ( targetPlayerName ) if targetPlayer then setElementHealth ( targetPlayer, getElementHealth(targetPlayer) 100 ) end end i changed the code i gett the code form wiki and i delete some lines did i do the true or i have a error on the code
-
hi solidsnake14 i make shop panel i still long time to make the shop panel and i have just a sample problem with it i make the shop just for buying the weapons and i wanna add more code like buy health and flip car and buy Invisible and FireBullets and all stuff where i find this stuff like buy health and Fire Bullets and invisible where i find that i cant find it on wiki wiki just give me example i cant find buy the health and invisible pleeeez help me or give me some code like buy health and invisible pleeez solidsnake14 i still 1 week sreaching for this codes and i find you helped al3grab to make has shop pleez help me and thank to you
-
no i test that and give me error attempt to call global 'getPlayerSerial' (a nil value in debugscript 3 and thank you TAPL your code work great and thank you soldisnake14
-
thank you TAPL very much for the help sorry for insult you and im so sorry agine in arabic شكرا يالحبيب واسفين على الغلط ترا الانسان خطاء وترا مو انا اللي مخترق سيرفرك سعود واللي معه وانا سبيتك لانك ماعطيتني الشوب وخربتو سيرفري بادمنيه مهستر وعلشان كذا قلت بفضحك وحطيت الصوره واسف على الخطاء وتكبر وتنساها وشكرا على المساعده
-
hi i make shop and i have problems with it the problem i cant see the info like serial and ping and money see the code and fix it pleeez client said tab1 = guiCreateTab("Info",tabPanel) playerMoneyLabel = guiCreateLabel(8,137,320,18,"Your Money: "..tostring(money).." ",false,tab1) guiLabelSetColor(playerMoneyLabel,255,255,0) guiLabelSetVerticalAlign(playerMoneyLabel,"top") guiLabelSetHorizontalAlign(playerMoneyLabel,"left",false) playerPingLabel = guiCreateLabel(8,165,320,18,"Your Ping:"..tostring(ping).." ",false,tab1) guiLabelSetColor(playerPingLabel,255,255,0) playerIPLabel = guiCreateLabel(8,190,320,18,"Your IP: "..tostring(ips).." ",false,tab1) guiLabelSetColor(playerIPLabel,255,255,0) playerSrLabel = guiCreateLabel(8,211,320,18,"Your Serial: "..tostring(srs).." ",false,tab1) guiLabelSetColor(playerSrLabel,255,255,0) server said addEventHandler("onPlayerJoin",root, function() ping = getPlayerPing(source) money = getPlayerMoney(source) ips = getPlayerIP(source) srs = getPlayerSerial(source) setElementData(source,"ping",ping) setElementData(source,"money",money) setElementData(source,"ips",ips) setElementData(source,"srs",srs) end ) i want see the info in the shop panel like serial and money and ping but i have problem i cant see the info give me nil when i put false give me false like money:false ping:false serial:false or give me another problem like money: nil serial :nil ping : nil plz fix it i try all my day to fix tis problem
-
thank you JR10 for the help yes i copy and past but i add more codes
-
hi i make shop panel and i need ur help guys i make the shop for buy weapons and i have a small problem with it when the player dont have money and press button to buy weapon the msg of the chat (you dont have money to buy wepaon) all players see this msg this my problem i want this msg only on the player when he press button to buy weapon how i fix it oh this the code server said addEvent("gived",true) addEventHandler("gived",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 150) then takePlayerMoney(source,150) giveWeapon ( source , 24 ) setPedWeaponSlot(source, getSlotFromWeapon(24)) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#FFFC17" .. getPlayerName ( source ) .. " has bought deagle $150 ..." , getRootElement(), r, g, b, true ) else outputChatBox("You Dont Have Money to buy weapon") end end the problem with the outputBox when the player press the Button he spam on the chat and all players see the msg ( You Dont Have Money to buy weapon ) i want only the player see the msg of him self i hope u understand me guys plz fix it
-
hi find error of your script with Sigma Script for lua scripts Simply and easily to edit your script and fix your problem Simply and easily find your script error to find your error in your script Select RUN to running your script and see your errors it is the best then mta script editor work to all windows version that is all i hope you like it to download http://www.logimath.com/download/sigmascript_setup.exe
-
شوف كل واحد له بدايه في سكربتاته والبدايه اكيد كانت سهله تطوير سكربت صغير بعدين اصبح كبير لا اقول تطوير بل اقول كلها كودات واشياء لاتستحق ان الواحد يبخل عليها ويشفرها ومايخلي احد يعرف الكودات هذي الحركات يسويها الاطفال للاسف مايبي احد ياخذ سكربتاته ويعدل عليها ويقول انا تعبت فيها وانا مابي احد ياخذ التعب حقي ببلاش ليش طيب انا لو في يدي والله بالعكس صحيح ان الواحد يتعب وهو يطور السكربت ويتعلم لاكن وش يمنعك ماتنزل الشوب او السكربت حقك للاخرين او تسوي شرح للمبتدئين تجيب الكود بدون تشفير وتشرح كيف اضافه كذا وكذا وبعضهم يطرحون موداتهم بدون تشفير وهؤلاء اهنيهم لانهم مايبخلون علينا
-
السلام عليكم الكثير مننا نحن العرب يبخل اعطاء سكربتاته لاحد لاسباب شخصيه به ولاكن لماذا هذا البخل وهي مجرد لعبه نلعبها ونطلع وفي هذا القسم المفروض يكون العرب الاحسن في التطوير والسكربتات ولاكن لانجد احد كفو لهذا القسم لكي يشرح لاخوانه العرب كيف يتم عمل السكربتات من الالف الى الياء لانقول اشرح شرح مفصل بل نقول لو تشرح شرح مبسط يكون افضل انا اوجه الرساله هذي لبعض من العرب اللي يعملوون سكربتات لا نقول هم انفسهم يعملونها بل ياخذونها من الاجانب ويطورونها او موقع الويكي لا اقول ان العرب يعملون السكربتات بل يطورونها هذا للتوضيح وهذا شي واقعي المهم لا اطيل عليكم اللي حاب يطرح لنا سكربتاته غير مشفره ويشرح جزاه الله خير ولحبذا ان يكون هنالك شوب جاهز بدون تشفير علشان نساعد اخواننا العرب في التعديل وتطوير الشوبات الخاصه بالبيس مود والريس وغيرها وايضا سوف اطرح مواضيع على حسب فهمي في السكربتات وانشالله تستفيدون ونفيدكم ياشباب والسلام ختام لا اريد الاطاله
-
Solidsnake14 plz help me trying to make shop work
IIIIlllllIII replied to IIIIlllllIII's topic in Scripting
ACT????? please expline this word what you mean on act ????
