Turk-oghlan

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Turk-oghlan

  • Rank
    Square

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. سلام به دوستان سرعت ماشین های سرور رو از کجا تنظیم کنم؟
  2. سلام واقعا ممنون که کمک کردید. اسکریپت درست کار کرد. این اسکریپت رو اصلا پیدا نمی کردم ولی شما مشکلم رو حل کردید. سپاس ❤️❤️
  3. Thanks again to my friend Can other friends guide me?
  4. It only works when the player is present on the server. I want this feature like the script to save money, weapons, skins and ... but with the difference that the player can not change the name. Please help if you can Thanku
  5. Hello friends Is there a script that prevents the name from being changed on the server ?? For example, when the player registered on the server, there is no longer the possibility of renaming, and even if it changes its name in the MTA settings, it will again be arranged with the same previous name that was selected at the time of registration. Sorry. My English is poor Please help me.
  6. ببخشـید فکر کنم شما متوجه نشدید. من تبلیغ نمی کنم. من فقط یه اسکریپت لازم دارم که اگه کسی داره بده.. وگرنه بنده نه سروری رو تبلیغ کردم و نه چیز دیگه.
  7. سلام دوستان من یک اسکریپت لازم دارم که به این صورت باشه: وقتی بازیکن وارد سرور شد و ثبت نام کرد،زمانی که وارد سرور بشه نامش با همون نامی باشه که تو سرور با هاش ثبت نام کرده. در کل یعنی وقتی که تو تنظیات ام تی ای اسمش رو تغییر داد تو سرور وقتی وارد میشه با همون نامی که قبلا تو سرور ثبت نام کرده بود مشخص بشه. نه اینکه همش اسمش رو تغییر بده. دوستان هرکی اسکریپتی با این شرایط داره لطفا اینجا بگذارید. با تشکر
  8. Very Thanks @Jalapeno Worked well. But I want some weapons to change for Coin, not all of them. Now the price of all the weapons has changed to the coin, but I want to change some weapons to coins. please guide me Thanks
  9. ZayN@ طبق راهنمایی فانکش اولی رو در سرور گان شاپ و دومی رو درکلاینتش ریختم ولی هنگامی که اسلحه میخرم از مقدار پول کم میشه و از کوین کم نمیشه. حتی بعدش فانکشن اول رو که دادید رو در سرور گان شاپ جایگزین هم کردم با یک فانکشن دیگه ولی این دفعه اصلا اینتریور گان شاپ هم نیومد. اگر مایل هستید اسکریپت گان شاپ رو بدم خودتون هم امتحان کنید
  10. ZayN@ الان رفتم به اسکریپت گان شاپ بعد همون کاری رو که گفتید رو انجام دادم ولی وقتی که رفتم گان شاپ و تفنگ بخرم اصلا خریده نمیشه. نه از کوین کم میشه و نه از پول و تفنگ ها هم خریده نمیشوند. این کلاینت گان شاپ که تمام مونی ها رو کوین کردم GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} local timee = {} local timeee = {} ---------------------------- --Function to create windows ---------------------------- function show() destoy() --- this function to destroy all open window ------------------ --Center Window ------------------ local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 646, 505 local left = (screenWidth-windowWidth)/2 local top = (screenHeight-windowHeight)/2 GUIEditor_Image[1] = guiCreateStaticImage(left,top,windowWidth,windowHeight,"images/1.png",false) guiSetAlpha(GUIEditor_Image[1],0.80000001192093) GUIEditor_TabPanel[1] = guiCreateTabPanel(10,19,628,397,false,GUIEditor_Image[1]) guiSetAlpha(GUIEditor_TabPanel[1],0.90000001192093) ------------------ --Weapon-1 ------------------ GUIEditor_Tab[1] = guiCreateTab("Weapon-1",GUIEditor_TabPanel[1]) GUIEditor_Image[2] = guiCreateStaticImage(45,41,107,99,"images/22.png",false,GUIEditor_Tab[1]) GUIEditor_Label[1] = guiCreateLabel(27,140,141,31,"Colt 45 \n 5 ¢",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],150,150,150) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",false) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(39,174,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[1],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[1],5) GUIEditor_Image[3] = guiCreateStaticImage(200,41,111,100,"images/23.png",false,GUIEditor_Tab[1]) GUIEditor_Label[2] = guiCreateLabel(182,142,141,31,"Silenced \n 8 ¢",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[2],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[2],"center",false) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Edit[2] = guiCreateEdit(191,173,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[2],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[2],5) GUIEditor_Image[4] = guiCreateStaticImage(353,44,101,100,"images/24.png",false,GUIEditor_Tab[1]) GUIEditor_Label[3] = guiCreateLabel(336,142,141,31,"Deagle \n 10 ¢",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[3],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[3],"center",false) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Edit[3] = guiCreateEdit(350,172,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[3],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[3],5) GUIEditor_Image[5] = guiCreateStaticImage(503,42,107,98,"images/25.png",false,GUIEditor_Tab[1]) GUIEditor_Label[4] = guiCreateLabel(489,140,141,31,"Shotgun \n 14 ¢",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[4],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[4],"center",false) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[4] = guiCreateEdit(503,170,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[4],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[4],5) GUIEditor_Image[6] = guiCreateStaticImage(41,214,110,94,"images/26.png",false,GUIEditor_Tab[1]) GUIEditor_Label[5] = guiCreateLabel(28,310,141,31,"Shotgun \n 12 $",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[5],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[5],"center",false) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Edit[5] = guiCreateEdit(41,343,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[5],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[5],5) GUIEditor_Image[7] = guiCreateStaticImage(198,215,113,94,"images/27.png",false,GUIEditor_Tab[1]) GUIEditor_Label[6] = guiCreateLabel(182,309,141,31,"Combat Shotgun \n 18 $",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[6],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[6],"center",false) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Edit[6] = guiCreateEdit(196,341,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[6],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[6],5) GUIEditor_Image[8] = guiCreateStaticImage(354,217,111,94,"images/28.png",false,GUIEditor_Tab[1]) GUIEditor_Label[7] = guiCreateLabel(344,310,141,31,"Tec-9 \n 20 $",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[7],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[7],"center",false) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Edit[7] = guiCreateEdit(355,339,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[7],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[7],5) GUIEditor_Image[9] = guiCreateStaticImage(508,218,107,94,"images/29.png",false,GUIEditor_Tab[1]) GUIEditor_Label[8] = guiCreateLabel(492,309,141,31,"MP5 \n 25 $",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[8],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[8],"center",false) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Edit[8] = guiCreateEdit(506,338,113,24,"",false,GUIEditor_Tab[1]) guiSetAlpha(GUIEditor_Edit[8],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[8],6) ------------------ --Weapon-2 ------------------ GUIEditor_Tab[2] = guiCreateTab("Weapon-2",GUIEditor_TabPanel[1]) GUIEditor_Image[10] = guiCreateStaticImage(45,41,107,99,"images/30.png",false,GUIEditor_Tab[2]) GUIEditor_Label[9] = guiCreateLabel(27,140,141,31,"AK-47 \n 30 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[9],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[9],"center",false) guiSetFont(GUIEditor_Label[9],"default-bold-small") GUIEditor_Edit[9] = guiCreateEdit(39,174,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[9],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[9],5) GUIEditor_Image[11] = guiCreateStaticImage(200,41,111,100,"images/31.png",false,GUIEditor_Tab[2]) GUIEditor_Label[10] = guiCreateLabel(182,142,141,31,"M4 \n 35 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[10],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[10],"center",false) guiSetFont(GUIEditor_Label[10],"default-bold-small") GUIEditor_Edit[10] = guiCreateEdit(191,173,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[10],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[10],5) GUIEditor_Image[12] = guiCreateStaticImage(353,44,101,100,"images/32.png",false,GUIEditor_Tab[2]) GUIEditor_Label[11] = guiCreateLabel(336,142,141,31,"Uzi \n 17 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[11],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[11],"center",false) guiSetFont(GUIEditor_Label[11],"default-bold-small") GUIEditor_Edit[11] = guiCreateEdit(350,172,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[11],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[11],5) GUIEditor_Image[13] = guiCreateStaticImage(503,42,107,98,"images/33.png",false,GUIEditor_Tab[2]) GUIEditor_Label[12] = guiCreateLabel(489,140,141,31,"Rifle \n 21 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[12],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[12],"center",false) guiSetFont(GUIEditor_Label[12],"default-bold-small") GUIEditor_Edit[12] = guiCreateEdit(503,170,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[12],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[12],5) GUIEditor_Image[14] = guiCreateStaticImage(41,214,110,94,"images/34.png",false,GUIEditor_Tab[2]) GUIEditor_Label[13] = guiCreateLabel(28,310,141,31,"Sniper \n 40 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[13],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[13],"center",false) guiSetFont(GUIEditor_Label[13],"default-bold-small") GUIEditor_Edit[13] = guiCreateEdit(41,343,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[13],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[13],5) GUIEditor_Image[15] = guiCreateStaticImage(198,215,113,94,"images/16.png",false,GUIEditor_Tab[2]) GUIEditor_Label[14] = guiCreateLabel(182,309,141,31,"Grenade \n 100 $",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[14],150,150,150) guiLabelSetHorizontalAlign(GUIEditor_Label[14],"center",false) guiSetFont(GUIEditor_Label[14],"default-bold-small") GUIEditor_Edit[14] = guiCreateEdit(196,341,113,24,"",false,GUIEditor_Tab[2]) guiSetAlpha(GUIEditor_Edit[14],0.80000001192093) guiEditSetMaxLength(GUIEditor_Edit[14],5) GUIEditor_Label[15] = guiCreateLabel(156,430,156,17,"Total : 0 $",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[15],"default-bold-small") GUIEditor_Button[1] = guiCreateButton(186,457,113,28,"Exit",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Button[1],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(57,457,113,28,"Buy",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Button[2],"default-bold-small") GUIEditor_Label[16] = guiCreateLabel(65,428,92,21,"Price Weapon:",false,GUIEditor_Image[1]) guiLabelSetColor(GUIEditor_Label[16],150,255,0) ---------------------------------End Window------------------------------------------- ------------------ --timer Edit ------------------ timee[localPlayer] = setTimer(function () local gWA22 = guiGetText (GUIEditor_Edit[1]) if gWA22 ~= '' then local tPMt22 = tonumber(gWA22) * 5 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt22 .." ¢") end local gWA23 = guiGetText (GUIEditor_Edit[2]) if gWA23 ~= '' then local tPMt23 = tonumber(gWA23) * 8 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt23 .." ¢") end local gWA24 = guiGetText (GUIEditor_Edit[3]) if gWA24 ~= '' then local tPMt24 = tonumber(gWA24) * 10 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt24 .." ¢") end local gWA25 = guiGetText (GUIEditor_Edit[4]) if gWA25 ~= '' then local tPMt25 = tonumber(gWA25) * 14 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt25 .." ¢") end local gWA26 = guiGetText (GUIEditor_Edit[5]) if gWA26 ~= '' then local tPMt26 = tonumber(gWA26) * 12 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt26 .." ¢") end local gWA27 = guiGetText (GUIEditor_Edit[6]) if gWA27 ~= '' then local tPMt27 = tonumber(gWA27) * 18 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt27 .." ¢") end local gWA28 = guiGetText (GUIEditor_Edit[7]) if gWA28 ~= '' then local tPMt28 = tonumber(gWA28) * 20 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt28 .." ¢") end local gWA29 = guiGetText (GUIEditor_Edit[8]) if gWA29 ~= '' then local tPMt29 = tonumber(gWA29) * 25 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt29 .." ¢") end local gWA30 = guiGetText (GUIEditor_Edit[9]) if gWA30 ~= '' then local tPMt30 = tonumber(gWA30) * 30 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt30 .." ¢") end local gWA31 = guiGetText (GUIEditor_Edit[10]) if gWA31 ~= '' then local tPMt31 = tonumber(gWA31) * 35 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt31 .." ¢") end local gWA32 = guiGetText (GUIEditor_Edit[11]) if gWA32 ~= '' then local tPMt32 = tonumber(gWA32) * 17 or tonumber(gWA32) * 17 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt32 .." ¢") end local gWA33 = guiGetText (GUIEditor_Edit[12]) if gWA33 ~= '' then local tPMt33 = tonumber(gWA33) * 21 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt33 .." ¢") end local gWA34 = guiGetText (GUIEditor_Edit[13]) if gWA34 ~= '' then local tPMt34 = tonumber(gWA34) * 40 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt34 .." ¢") end local gWA16 = guiGetText (GUIEditor_Edit[14]) if gWA16 ~= '' then local tPMt16 = tonumber(gWA16) * 100 guiSetText (GUIEditor_Label[15],"Total : ".. tPMt16 .." ¢") end end, 50, 0 ) timeee[localPlayer] = setTimer(function () local gWA22 = guiGetText (GUIEditor_Edit[1]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[1],"") end local gWA22 = guiGetText (GUIEditor_Edit[2]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[2],"") end local gWA22 = guiGetText (GUIEditor_Edit[3]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[3],"") end local gWA22 = guiGetText (GUIEditor_Edit[4]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[4],"") end local gWA22 = guiGetText (GUIEditor_Edit[5]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[5],"") end local gWA22 = guiGetText (GUIEditor_Edit[6]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[6],"") end local gWA22 = guiGetText (GUIEditor_Edit[7]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[7],"") end local gWA22 = guiGetText (GUIEditor_Edit[8]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[8],"") end local gWA22 = guiGetText (GUIEditor_Edit[9]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[9],"") end local gWA22 = guiGetText (GUIEditor_Edit[10]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[10],"") end local gWA22 = guiGetText (GUIEditor_Edit[11]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[11],"") end local gWA22 = guiGetText (GUIEditor_Edit[12]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[12],"") end local gWA22 = guiGetText (GUIEditor_Edit[13]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[13],"") end local gWA22 = guiGetText (GUIEditor_Edit[14]) if gWA22 == '-' then guiSetText (GUIEditor_Edit[14],"") end end, 50, 0 ) end -------------------- --Destroy all window -------------------- function destoy() for i,v in ipairs(GUIEditor_Button) do ---destroy all buton if isElement(v) then destroyElement(v) end end for i,v in ipairs(GUIEditor_Label) do --destro all label if isElement(v) then destroyElement(v) end end for i,v in ipairs(GUIEditor_Edit) do ---destroy all edit if isElement(v) then destroyElement(v) end end for i,v in ipairs(GUIEditor_Image) do --destroy all image if isElement(v) then destroyElement(v) end end for i,v in ipairs(GUIEditor_TabPanel) do --destroy all tap-panel if isElement(v) then destroyElement(v) end end for i,v in ipairs(GUIEditor_Tab) do --destroy all tap if isElement(v) then destroyElement(v) end end if isTimer(timee[localPlayer]) then killTimer(timee[localPlayer]) end --kill timee if isTimer(timeee[localPlayer]) then killTimer(timeee[localPlayer]) end --kill timeee end ------------------ -- clear all edit when click ------------------ function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Edit[1]) then guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[2]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[3]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[4]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[5]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[6]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[7]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[8]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[9]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[10]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[11]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[12]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[13]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[14],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") elseif (source == GUIEditor_Edit[14]) then guiSetText (GUIEditor_Edit[1],"") guiSetText (GUIEditor_Edit[2],"") guiSetText (GUIEditor_Edit[3],"") guiSetText (GUIEditor_Edit[4],"") guiSetText (GUIEditor_Edit[5],"") guiSetText (GUIEditor_Edit[6],"") guiSetText (GUIEditor_Edit[7],"") guiSetText (GUIEditor_Edit[8],"") guiSetText (GUIEditor_Edit[9],"") guiSetText (GUIEditor_Edit[10],"") guiSetText (GUIEditor_Edit[11],"") guiSetText (GUIEditor_Edit[12],"") guiSetText (GUIEditor_Edit[13],"") guiSetText (GUIEditor_Label[15],"Total : 0 ¢") end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) ---------------------- --Buy Weapon ---------------------- function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[2]) then local gWA = guiGetText (GUIEditor_Edit[1]) string.format ("-", gWA) if gWA ~= '' then local tPM = tonumber(gWA) * 5 local wID = 22 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[2]) if gWA ~= '' then local tPM = tonumber(gWA) * 8 local wID = 23 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[3]) if gWA ~= '' then local tPM = tonumber(gWA) * 10 local wID = 24 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[4]) if gWA ~= '' then local tPM = tonumber(gWA) * 14 local wID = 25 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[5]) if gWA ~= '' then local tPM = tonumber(gWA) * 12 local wID = 26 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[6]) if gWA ~= '' then local tPM = tonumber(gWA) * 18 local wID = 27 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[7]) if gWA ~= '' then local tPM = tonumber(gWA) * 20 local wID = 32 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[8]) if gWA ~= '' then local tPM = tonumber(gWA) * 25 local wID = 29 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[9]) if gWA ~= '' then local tPM = tonumber(gWA) * 30 local wID = 30 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[10]) if gWA ~= '' then local tPM = tonumber(gWA) * 35 local wID = 31 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[11]) if gWA ~= '' then local tPM = tonumber(gWA) * 17 local wID = 28 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[12]) if gWA ~= '' then local tPM = tonumber(gWA) * 21 local wID = 33 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[13]) if gWA ~= '' then local tPM = tonumber(gWA) * 40 local wID = 34 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end local gWA = guiGetText (GUIEditor_Edit[14]) if gWA ~= '' then local tPM = tonumber(gWA) * 100 local wID = 16 triggerServerEvent ("BuyW", getLocalPlayer(), tPM , gWA, wID ) end elseif (source == GUIEditor_Button[1]) then destoy() showCursor( false ) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) ---------------------- --Create Marker & bilp ---------------------- local Marker = createMarker ( 296, -37, 999.5, "cylinder", 2, 255, 255, 0, 150 ) setElementInterior( Marker, 1, 296, -37, 999.5 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then show() showCursor( true ) end end ) createBlip ( 1367, -1279, 13 , 6 ) اینم سرور گان شاپه که طبق راهنمایییتون مونی ها رو به کوین تغییر دادم addEvent( "BuyW", true) addEventHandler( "BuyW", getRootElement(), function ( tPM , gWA, wID ) local PlayerCoin = getPlayerCoin(source) if PlayerCoin >= tPM then giveWeapon (source, wID, gWA ) takePlayerCoin(source, tPM) setPedWeaponSlot(source, getSlotFromWeapon(tonumber(wID))) outputChatBox ( "#FFFF1A*** You Bought Weapon By : "..tonumber(tPM).."¢ ***", source, 255, 0, 0, true ) else outputChatBox("you don't have $"..tonumber(tPM).." to buy This Weapon !", source, 255, 0, 0) end end) local Exitdoor = createMarker( 286, -42, 1002.5, "arrow", 1.5, 150, 0, 0, 255 ) setElementInterior( Exitdoor, 1, 285, -41, 1001 ) function Exitd( player ) if (source == Exitdoor) then if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer ( setElementPosition, 1000, 1, player, 1367, -1279, 13 ) setTimer ( setElementInterior, 1000, 1, player, 0, 1367, -1279, 13 ) toggleControl ( player, "fire", true ) end end end addEventHandler ("onMarkerHit", getRootElement() ,Exitd ) local Doorentry = createMarker(1369, -1279, 14.5, "arrow", 1.5, 255, 0, 0, 255 ) function Doore( player ) if (source == Doorentry) then if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer(setElementPosition, 1000, 1, player, 285, -40, 1001) setTimer ( setElementInterior, 1000, 1, player, 1, 285, -40, 1001 ) toggleControl ( player, "fire", false ) end end end addEventHandler ("onMarkerHit", getRootElement(), Doore ) addEventHandler ( "onResourceStart", getResourceRootElement(), function ( ) ped = createPed ( 223, 296, -40, 1001 ) setElementInterior( ped, 1, 296, -40, 1001 ) end ) آره اصلا اسلحه ها خرید نمیشوند. لطفا راهنمایی کنید. ممنون
  11. سلام @ZayN من بلد نیستم چطوری با این اسکریپت ارزش خریدنی های بازی رو به کوین تغییر بدم. واسه همین یه راهنمایی خواستم در مورد اسکریپت. اگه میدونید کمک کنید. الان این عکس رو از سرورم گرفتم و اسکریپت کوین رو تو سرورم نصب کردم ولی نمیتونم ویرایش کنم تا واحد چیز هایی رو که میخوام تو بازی بفروشم رو . به کوین تغییر بدم. 0 اینم عکس تفنگ های فروشی گان شاپمه که میخوام بعضی هاشون به جای دلار با کوین خرید بشن. در کل من میخوام با این اسکریپت بعضی از آبجکت های سرورم رو پولی کنم. لطفا اگه میدونید که چطوری میشه با این اسکریپت واحدآبجکت ها رو به کوین تغییر داد راهنمایی کنید. ممنونم میشوم https://tinyurl.com/y5mqbsmn : اینم لینک دانلود اسکریپت لطفا این اسکریپت رو دانلود کنید از کمیونیتی هست. بعد ببینید طرز کارش چطوره یعنی روال کارش چطوریه تشکر
  12. سلام به دوستان دوستان من تازه وارد کار سرور شدم و 2هفته نمیشه و برای همین در رابطه با اام تی ای مشکلات زیادی دارم. به خصوص که ام تی ای زبان فارسی نداره این دیگه خیلی بده یعنی آدم نمیتونه مشکلاتش رو به یکی که وارد بگه من یک راهنمایی در مورد کوین می خوام که خواهش می کنم اگر بلدید راهنمایی کنید. https://tinyurl.com/y5mqbsmn: من یک اسکریپت کوین از کمیونیتی دانلود کردم. این لینکش https://tinyurl.com/y3lvw6wc :و یک گان شاپ از کمیونیتی دانلود کردم. اینم لینکش و روال اون سیستم کوین رو که دانلود کردم اینه که در کنار پول بازی یه ارزشی به نام کوین میاد و میتونی با این سیستم هر چیزی رو که در سرور قابل خرید هست رو پولی کنی ،یعنی طرف کوین بخره بعد بیاد اون چیزهایی که با کوین هستند رو تو سرور بخره. مشکل من اینه که نمیتونم اسلحه های گان شاپ رو که لینکش رو گذاشتم رو با این سیستم کوین ، قیمتشون رو به کوین تغییر بدم. دوستان خواهش می کنم اگر کسی از شما یه اسکریپتی یا راهی بلد هستید که بشه قیمت اسلحه های این گان شاپ رو به کوین تغییر بده، راهنمایی کنید.
  13. Hello friends I'm new and I do not know much. I want some tips 1-I downloaded this coin script from this link: https://tinyurl.com/y5mqbsmn 2- And I downloaded the gun store script: https://tinyurl.com/y3lvw6wc My friends want the players to buy some weapons from the gun just through the coin. If anyone knows how to change the price of the store guns for coins. If you know a script that can help me, please guide. I'm sorry my English is Poor. Very Thanks.
  14. Hello Thank you for the guidance But when I pause it or delete it at all, the game screen gets black when it's logged in. (Like the video below) My video link is difficult: https://streamable.com/lw2ep Please advise me to resolve this issue.
  15. Hello to all I am newcomer and I do not know much. I have a question. - I've made the first server, when I add F1, a window opens like a bottom-up image, and features such as Teleport, free car creation, and more. But I want to disable this feature for my server, but I can not. Excuse me, I am a weak English and I wrote with Google Translator please guide me. thanks