Leaderboard
Popular Content
Showing content with the highest reputation on 01/09/17 in all areas
-
اليوم حبيت اسوي سكربت بسيط وتقريبا الكل يعرف يسويه هو الحافز فكرة الحافز معروفة الي هي يوزع فلوس كل مدة معينة image : الخصائص : بأمكانك التعديل علي الوقت الخاص للتوزيع بلدقائق بأمكانك تغيير عدد الفلوس يجي صوت لجميع اللاعبين عند م يتم توزيع الفلوس ------------------------------------------------ رابط التحميل https://up.top4top.net/downloadf-609a0vfz1-zip.html ------------------------------------------------ الاهدائات @MR.StoRm @#_iMr.[E]coo @Master_MTA @#Soking @Killer Project @#Aln3mani2 points
-
Happy Spring Break! We have got a new release for you - Multi Theft Auto: San Andreas 1.5.4! This release includes security updates for the server that protect both you and us, so we recommend all server owners to upgrade as soon as possible - see the steps below for tips on that. Failure to do so may affect your server's visibility on the Master Server List in the ingame server browser. Aside from security fixes, there are some feature updates in this version for the client as well, so regular players are more than welcome to update. What do you need to do to upgrade your server properly Stop your server, then upgrade your server binaries like usual. You can also upgrade your server resources if you use any of the default MTA:SA ones. Start your server, and when it is running, stop your server again (This will step will ensure mtaserver.conf is upgraded) Edit your mtaserver.conf file, and find <owner_email_address> (it should be just below the <servername> parameter) and insert a valid e-mail address that we can use to contact you, should there be an issue with your server. This e-mail address IS NOT visible publicly and will only be used for means listed earlier. That is, only if those occur. Save the mtaserver.conf file, then start your server again. Release Highlights Authorized Serial Account Protection is now enabled by default. To put it simply, this feature prevents players from logging in to an account on the server if their serial differs from the serial associated with that account. Naturally, this feature is configurable so you can restrict it to specific account groups and you can authorize more than just one serial for a specific account. You can also disable this in the mtaserver.conf file if you are sure you do not need the feature. Database Credentials Protection is now enabled by default. passwordHash() & passwordVerify() can now be used to store and verify passwords securely and efficiently fetchRemote() now supports parallel downloads with the queue name parameter setWorldSpecialPropertyEnabled() now has settings for "sniper moon", "random foliage" and "extra air resistance" New scripting functions: get/setVehicleLODDistance() setElementDimension() now supports element omnipresence, which means that an element can be in all dimensions at once fixes for weapons/fists desync Corona markers should now have a correct attach offset position SQLite or MySQL no longer makes the server freeze if the connection is lost (#9520) Goggles no longer stay after player was killed (#9477) updates for CEF and other dependencies and redists fakelag command for testing sync issues fixes for some crashes and improvements for error handling for installation and startup issues removed max password length limit for server account passwords added server option to allow locally modified (gta3.img) vehicles added world special property "extraairresitance" to remove speed limiter on certain road sections (#7546) resource pack: various changes in acpanel, editor, freeroam, killmessages, playerblips, race and webbrowser ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r10623 upwards). List of changes to the resource pack can be found here (starting from and including Oct 29, 2016 upwards). Want to download MTA:SA 1.5.4? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with the 1.5.3 (also 1.5.2, 1.5.1 and 1.5). If you use these versions, then you may as well upgrade to the newest one. Credits for this release: 4O4, Arran, Dutchman101, einheit-101, Fernando, lopezloo, Necktrox, next, Noki_, qaisjp, ZReC ^ (Have you contributed to MTA:SA 1.5.4's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added ASAP) ^ Oh, and did you know that we have got our very own Discord server now? Click here for details on how to join our server. Take care. -- MTA Team1 point
-
إن شاء الله في اقرب وقت " الدراسه بدأت " ذذ ما فيه شي جديد الا شي واحد فقط وهو طريقه حذف الرساله لكن مثل ما قال الاخ ايكو واللي انا ما كنت ادري صراحه انه مسويها لكن في الوقت الحالي صعب تسوي شي حصري ذذ1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
@Master_MTA alright, guys is this work fine? function shootProjectile() if not isTimer(shootCooldown) then shootCooldown = setTimer(function() end, 1000, 1) local vehicle = getPedOccupiedVehicle(localPlayer) -- Only create projectile if we are inside a vehicle if getElementModel(vehicle) == 411 then local x, y, z = getElementPosition(vehicle) createProjectile(vehicle, 19, x, y, z) end end end function setupProjectileBinds() bindKey("k", "down", shootProjectile) end addEventHandler("onClientPlayerJoin", getResourceRootElement(getThisResource()), setupProjectileBinds)1 point
-
@Master_MTA re-read the Wiki, control names are also a valid input here. You need to trigger bindKey when the client joins / the resource is started. At the moment bindKey is only being triggered when the resource is started. function shootProjectile() if not isTimer(shootCooldown) then shootCooldown = setTimer(function() end, 1000, 1) local vehicle = getPedOccupiedVehicle(localPlayer) -- Only create projectile if we are inside a vehicle if getElementModel(vehicle) == 411 then local x, y, z = getElementPosition(vehicle) createProjectile(vehicle, 19, x, y, z) end end end function setupProjectileBinds() bindKey("vehicle_fire", "down", shootProjectile) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), setupProjectileBinds)1 point
-
وانت بخير وصحه وسلامة وكل عام وانتم جميعا وجميع المسلمين بالف خير وعافيه1 point
-
1 point
-
1 point
-
...كل عام وأنتم جميعاً بكل هنَا وسرور وراحة بال ..رزقكم الله جنة عرضها كعرض السموات والأرض1 point
-
1 point
-
1 point
-
addCommandHandler('getall',function(plr) local acc=getPlayerAccount(plr) if not acc then return end local accname=getAccountName(acc) if not isObjectInACLGroup('user.'..accname,aclGetGroup('Console')) then return end local elements=getElementsByType('player') if #elements==0 then return end local x,y,z=getElementPosition(plr) local int=getElementInterior(plr) local dim=getElementDimension(plr) for k,v in ipairs(elements)do if v~=plr setElementDimension(v,dim) setElementInterior(v,int,x,y,z+2) outputChatBox('#33ff00you have been warapped to ['..getPlayerName(plr)..'#33ff00] by admin system ',v,255,255,255,true) end end end) try this1 point
-
1 point
-
همممم سلام عليكم ورحمة الله وبركاته اولا بالتوفيق+ما اشوف شي جديد صراحه1 point
-
1 point
-
1 point
-
البرمجة فيها ملازمات كثيرة, الشخص اللي عرف كيف يبني الأساس ويحط الحجر بشكل صحيح وعرف كيف يستمر بالبناء فقط هو اللي راح ينجح, من أسس النجاح في هذا المجال, التركيز والصبر والمحاولة, واللغة الإنجليزية لأنها مهمة جدا, قد تخليك اللغة الإنجليزية ماتحتاج تسأل اسئلة من البداية, كل هذا بعد بناء الأسس الصحيحة وإبتداء التعلم بشكل صحيح, الويكي يحتاج انجليزي ويحتاج معرفة أسس البرمجة وماهو المتغير وماهو الثابت وماهو الفنكشن وماهو الحدث, فهم القيم هذي كلها راح يخليك تمشي بطريق البرمجة بدون عراقيل, أتمنى تفهم ويفهم الجميع من كلامي, لأن في كثير اسمهم مبرمجين لاكنهم سالكين طريق خاطيء للبرمجة, طبعا أخطائنا تعلمنا منها لهذا السبب مانبي المبرمجين الجدد والأجيال الجديدة تطيح بنفس الأخطاء, بالتوفيق للجميع.1 point
-
1 point
-
شوف بدون اي مجاملات هو حلو بس فيه شوية عيوب .. الاولى الفراغات الثانية الشيك بوكس لو تحوله لصورة ويتغير عند الضغط بيصير احلى ,1 point
-
1 point
-
1 point
-
function detach() local attachedelem = getAttachedElements ( source ) for i,v in ipairs ( attachedelem ) do detachElementFromElement(v, source) end end bindKey("f", "down", detach)1 point
-
1 point
-
Stack overflaw because you called spawnVehicle function within your re-defined spawnVehicle function, this will cause the function to be called infinite times and cause a stack overflaw.1 point
-
function mySpawnVehicle(x,y,z,VehicleName) id = getVehicleModelFromName(VehicleName) spawnVeh = spawnVehicle (id, -2322.58496, -1622.78491, 483.70908) end addEvent("onSpawnVehicle", true) addEventHandler("onSpawnVehicle",getRootElement(),mySpawnVehicle) Don't overwrite function names unless you know what you are doing.1 point
-
Basically you can do like this local _spawn = spawnVehicle function spawnVehicle ( x, y, z, VehicleName ) _spawn ( getVehicleModelFromName ( VehicleName ), -2322.58496, -1622.78491, 483.70908 ) end1 point
-
function spawnVehicleF(x,y,z,VehicleName) id = getVehicleModelFromName(VehicleName) spawnVeh = spawnVehicle(id, -2322.58496, -1622.78491, 483.70908) end addEvent("onSpawnVehicle", true) addEventHandler("onSpawnVehicle",getRootElement(),spawnVehicleF) You can't name the function the same as you'd call the default MTA function or it'll recreate it.1 point
-
1 point
-
0 points
