Turk-oghlan

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Turk-oghlan

  • Rank
    Civilian

Recent Profile Visitors

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

  1. Hi thank you for the guidance I made these changes but when I write the /bank the system is not activated. function MarkerHit( command, matchingDimension ) if ((getElementType(commands) == "player")) then local acc = getPlayerAccount (command) if (acc and not isGuestAccount (acc)) then local atmmi = getElementData (source,"atm") if (atmmi == true) then addCommandHandler(command, "bankaGuiAc", command) end end end end addCommandHandler("bank", MarkerHit) executeCommandHandler ( bank, player, matchingDimension ) Please very guide
  2. HI guys I downloaded Bank System . The system is such that when the player enters the marker, the ATM becomes active. But, I want to get the ATM system activated here by writing a text(Command For Example: /Bank). And in the custom area. Server.Lua The part that defines ATM activation with the marker atmls1 = 2116, -1118.3000488281,24.89999961853,0,0,162 atmls2 = 1186.1999511719,-1374.3000488281, 13.199999809265 ,0,0,90 atmls3 = 1975.4000244141,-2176.1000976563, 13.199999809265 ,0,0,178 atmsf1 = -1571.0999755859,666.59997558594, 6.8000001907349 ,0,0,88 atmsf2 = -2655.8999023438,257.89999389648, 4 ,0,0,90 atmredcounty = -74.800003051758,1116.3000488281, 19.39999961853 ,0,0,90 atmlv1 = 1715.5999755859,1533.5, 10.39 ,0,0,92 atmlv2 = 2176.6000976563,2443.6999511719, 10.5 ,0,0,178 atmlv3 = 2159.5,950.79998779297, 10.699999809265 ,0,0,270 atmler = { { 2116, -1118.3000488281,24.89999961853,0,0,162 }, { 1186.1999511719,-1374.3000488281, 13.199999809265 ,0,0,90 }, { 1975.4000244141,-2176.1000976563, 13.199999809265 ,0,0,178 }, { -1571.0999755859,666.59997558594, 6.8000001907349 ,0,0,88 }, { -2655.8999023438,257.89999389648, 4 ,0,0,90 }, {-74.800003051758,1116.3000488281, 19.39999961853 ,0,0,90 }, { 1715.5999755859,1533.5, 10.39 ,0,0,92 }, { 2176.6000976563,2443.6999511719, 10.5 ,0,0,178 }, { 2159.5,950.79998779297, 10.699999809265 ,0,0,270 } } atm = {} function displayLoadedRes ( res ) for theKey,theAtm in ipairs(atmler) do atm[theAtm] = createObject ( 2942, theAtm [ 1 ], theAtm [ 2 ], theAtm [ 3 ], theAtm [ 4 ], theAtm [ 5 ], theAtm [ 6 ] ) atmx, atmy, atmz = getElementPosition (atm[theAtm]) atmMarker = createMarker ( atmx, atmy, atmz -1, "cylinder", 1.5, 100, 100, 200, 170 ) setElementData (atmMarker,"atm",true) atmBlip = createBlipAttachedTo ( atm[theAtm], 52 ) setBlipVisibleDistance (atmBlip,200) setElementCollisionsEnabled(atm[theAtm], false) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), displayLoadedRes ) function MarkerHit( hitElement, matchingDimension ) if ((getElementType(hitElement) == "player")) then local acc = getPlayerAccount (hitElement) if (acc and not isGuestAccount (acc)) then local atmmi = getElementData (source,"atm") if (atmmi == true) then triggerClientEvent(hitElement, "bankaGuiAc", hitElement) end end end end addEventHandler( "onMarkerHit", getRootElement(), MarkerHit ) please guide me Thanks
  3. HI guys I downloaded Bank System . The system is such that when the player enters the marker, the ATM becomes active. But, I want to get the system activated here by writing a text(Command Example: /Bank). And in the custom area. Server.Lua The part that defines ATM activation with the marker atmls1 = 2116, -1118.3000488281,24.89999961853,0,0,162 atmls2 = 1186.1999511719,-1374.3000488281, 13.199999809265 ,0,0,90 atmls3 = 1975.4000244141,-2176.1000976563, 13.199999809265 ,0,0,178 atmsf1 = -1571.0999755859,666.59997558594, 6.8000001907349 ,0,0,88 atmsf2 = -2655.8999023438,257.89999389648, 4 ,0,0,90 atmredcounty = -74.800003051758,1116.3000488281, 19.39999961853 ,0,0,90 atmlv1 = 1715.5999755859,1533.5, 10.39 ,0,0,92 atmlv2 = 2176.6000976563,2443.6999511719, 10.5 ,0,0,178 atmlv3 = 2159.5,950.79998779297, 10.699999809265 ,0,0,270 atmler = { { 2116, -1118.3000488281,24.89999961853,0,0,162 }, { 1186.1999511719,-1374.3000488281, 13.199999809265 ,0,0,90 }, { 1975.4000244141,-2176.1000976563, 13.199999809265 ,0,0,178 }, { -1571.0999755859,666.59997558594, 6.8000001907349 ,0,0,88 }, { -2655.8999023438,257.89999389648, 4 ,0,0,90 }, {-74.800003051758,1116.3000488281, 19.39999961853 ,0,0,90 }, { 1715.5999755859,1533.5, 10.39 ,0,0,92 }, { 2176.6000976563,2443.6999511719, 10.5 ,0,0,178 }, { 2159.5,950.79998779297, 10.699999809265 ,0,0,270 } } atm = {} function displayLoadedRes ( res ) for theKey,theAtm in ipairs(atmler) do atm[theAtm] = createObject ( 2942, theAtm [ 1 ], theAtm [ 2 ], theAtm [ 3 ], theAtm [ 4 ], theAtm [ 5 ], theAtm [ 6 ] ) atmx, atmy, atmz = getElementPosition (atm[theAtm]) atmMarker = createMarker ( atmx, atmy, atmz -1, "cylinder", 1.5, 100, 100, 200, 170 ) setElementData (atmMarker,"atm",true) atmBlip = createBlipAttachedTo ( atm[theAtm], 52 ) setBlipVisibleDistance (atmBlip,200) setElementCollisionsEnabled(atm[theAtm], false) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), displayLoadedRes ) function MarkerHit( hitElement, matchingDimension ) if ((getElementType(hitElement) == "player")) then local acc = getPlayerAccount (hitElement) if (acc and not isGuestAccount (acc)) then local atmmi = getElementData (source,"atm") if (atmmi == true) then triggerClientEvent(hitElement, "bankaGuiAc", hitElement) end end end end addEventHandler( "onMarkerHit", getRootElement(), MarkerHit ) please guide me
  4. سلام سوال دارم لطفا هر کی بلده راهنماییم کنه یک مد وب بروزِر به صورت پیش فرض در پوشه ی سرور در ام تی ای وجود داره که در عکسِ پایین با دایره قرمز رنگ مشخصش کردم http://s7.picofile.com/file/8388100676/mta_screen_2020_02_13_19_46_03.jpg من میخوام این وب بروزِر رو به مدی که ساختم منتقل کنم من مدی ساختم و میخوام این وب بروزِ به جای اینکه همینجوری تو صفحه بازی (مثل عکسی که گذاشتم) ظاهر بشه، تو صفحه اون مدی که ساختم اونجا ظاهر بشه. کلا مدُی که میسازم شبیه دسکتاپ کامپیوتره و میخوام این وب بروزِ تو صفحه مُدم باشه نه همینجوری تو صفحه اول بازی!(که عکسش تو بالا هست) لطفا اگر یک کدی یا یک روشی وجود داره که بشه این وب بروزِر رو انتقال داد به صفحه یه مُد دیگه راهنمایی کنید با تشکر
  5. سلام به دوستان سرعت ماشین های سرور رو از کجا تنظیم کنم؟
  6. سلام واقعا ممنون که کمک کردید. اسکریپت درست کار کرد. این اسکریپت رو اصلا پیدا نمی کردم ولی شما مشکلم رو حل کردید. سپاس ❤️❤️
  7. Thanks again to my friend Can other friends guide me?
  8. 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
  9. 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.
  10. ببخشـید فکر کنم شما متوجه نشدید. من تبلیغ نمی کنم. من فقط یه اسکریپت لازم دارم که اگه کسی داره بده.. وگرنه بنده نه سروری رو تبلیغ کردم و نه چیز دیگه.
  11. سلام دوستان من یک اسکریپت لازم دارم که به این صورت باشه: وقتی بازیکن وارد سرور شد و ثبت نام کرد،زمانی که وارد سرور بشه نامش با همون نامی باشه که تو سرور با هاش ثبت نام کرده. در کل یعنی وقتی که تو تنظیات ام تی ای اسمش رو تغییر داد تو سرور وقتی وارد میشه با همون نامی که قبلا تو سرور ثبت نام کرده بود مشخص بشه. نه اینکه همش اسمش رو تغییر بده. دوستان هرکی اسکریپتی با این شرایط داره لطفا اینجا بگذارید. با تشکر
  12. 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
  13. ZayN@ طبق راهنمایی فانکش اولی رو در سرور گان شاپ و دومی رو درکلاینتش ریختم ولی هنگامی که اسلحه میخرم از مقدار پول کم میشه و از کوین کم نمیشه. حتی بعدش فانکشن اول رو که دادید رو در سرور گان شاپ جایگزین هم کردم با یک فانکشن دیگه ولی این دفعه اصلا اینتریور گان شاپ هم نیومد. اگر مایل هستید اسکریپت گان شاپ رو بدم خودتون هم امتحان کنید