Leaderboard
Popular Content
Showing content with the highest reputation on 03/12/17 in all areas
-
@xeon17 It is a kind of addiction, except for the wasting part. I am well aware that I shouldn't. If you had some lessons around ethical, you would know what I am talking about. Because it is a very common addiction and most of the time overlooked. Yet, everybody has this addiction. With other words: the feeling of being needed.3 points
-
@IIYAMA I wanted to ask you this question for a couple of weeks already. You seem like a very intelligent guy. But why are you wasting your time dealing with people like @Professional? The forum and the game itself are full of braindead people, what's the point? (No offence , I truly respect your work)3 points
-
Try this build of MTA: https://nightly.multitheftauto.com/mtasa-1.5.5-full_rc-11734-20171019.exe2 points
-
Intro I'm dccs120, one of the owners of Blackout, a 7 year old zombie server. Started playing MTA in 2011. Media Blackout is a Zombies/TDM/RPG/RP server. This project has started as "Blackout Zombie Server" in early 2011 and has grown a lot ever since. Some people have taken it over as the time went on and it eventually became one of the biggest zombie servers in MTA in 2013. There are events, defending safezones, defeating a Boss, clans. There's a huge map full of created bases and zones to contemplate. You can just freeroam and kill hordes of zombies and maybe get your car wrecked in the way to make things more challenging. All the scripts that don't come with MTA were homemade. Our goal with Blackout is to provide a great gameplay experience for the RPG/zombies lovers out there. Transparency, equal treatment, professionalism are the laws here. Server info IP: mtasa://45.62.249.201:22004 Web page | My email | Youtube | Discord | Steam | Facebook I hope you liked the project and I'll probably see you online soon! Regards, dccs1201 point
-
عذرا غلطه هممم لكن انا ما احب اعتمد على الويكي بكل شي اعتمد على ذاكرتي عشان اقويها +_+ على العموم هو كذا او كذا كان لازم يراجع الويكي عشان يشوف طريقة الاستخدام+مشكور للتنبيه يقلبي1 point
-
You can also save this way: -- saving local r,g,b = getPlayerNametagColor( source ) setAccountData( playeraccount, "ntszin", toJSON({ r,g,b }) ) -- getting local nametagC = getAccountData( playeraccount, "ntszin" ) if nametagC then local r,g,b = unpack(fromJSON( nametagC )) end Also, you can remove the first if-statement in the "onPlayerLogin" event since the account parameter will always be returned.1 point
-
function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) local accName = getAccountName ( playeraccount ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then local r,g,b = getPlayerNametagColor ( source ) setAccountData ( playeraccount, "ntszin", r..","..g..","..b ) end end end function onPlayerLogin (_, playeraccount ) local accName = getAccountName ( playeraccount ) if ( playeraccount ) then if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then local nametagszin = getAccountData ( playeraccount, "ntszin" ) if ( nametagszin ) then local r, g, b = unpack( split( nametagszin, "," ) ) setPlayerNametagColor ( source, r, g, b ) end end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin )1 point
-
Use source instead of thePlayer. Also, getPlayerNametagColor returns 3 values (r, g, b), so you can't save the data this way.1 point
-
1 point
-
Use always getDistanceBetweenPoints3D to compare positions (or your own calculation)1 point
-
1. @Bonus Names like 1_7_0 are a remaining of a decompiled script. Because when a script is compiled all variables names are lost. A decompiler will assign names like that to make it work again.1 point
-
بعد اختباري لبعض والحمد الله اخذت خلفية عن الجيم مود بشكل عام; بدون تطبيل. ما وجدت ولا مشكلة برمجية يمكن تعيقني وقت اللعب. السيرفر متكامل بمنظوري في فكرة اللاعب. ما اشوف اي اسباب تخلي راعيه يحط 400 دولار على سيرفر مميز مثل هذا. المشكلة الوحيدة هي المابات في سكربت الحدود, تعيق الاعب فالمرور ادا كان بسيارة متوسطة او كبيرة. * اللي فوق ماعندكم سالفة الصراحة, انتقاداتكم جداً سلبية.1 point
-
1 point
-
انت اللي توك راجع الرجال ما تحرك حسن اسلوبك انا كان ممكن اقولك بدال عذرا وذا الكلام انت جالس تقول كلام خبصه لكن انا محترم يا ليت تحترمني زي ما احترمك1 point
-
addCommandHandler("refreshres",function(source) local resources = getResources() local oldResources = {} for i,v in ipairs(resources) do if getResourceState(v) ~= "failed to load" then oldResources[v] = true end end refreshResources(true) local resources = getResources() local newResources = {} for i,v in ipairs(resources) do if not oldResources[v] and getResourceState(v) ~= "failed to load" then newResources[#newResources + 1] = v end end iprint(newResources) outputChatBox("NewResource loaded: Here is the last resource name which loaded.", source, 255, 255,255,true) end) You might need to set a timer before you re-check the resources again. (not sure because I never tried it)1 point
-
1 point
-
setElementData(player,"Helmet", { {id="notSpecial", amount, armor}, {id="stupid", 999, -10000}, {id="IIYAMA", 1, 1000000000000000000} } ) setElementData(player,"Helmet", { notSpecial = { amount, armor}, stupid = {999, -10000}, IIYAMA = {1, 1000000000000000000} } )1 point
-
تمام يبقى في سيرفر سايد هتعمل كده local aSQL = executeSQLQuery ( 'SELECT * FROM _Name_ ' ) if #aSQL~=0 then triggerClientEvent(plr,'setgrid',plr,aSQL) else triggerClientEvent(plr,'cleargrid',plr) end ----------------اعذرني مستخدمتش المربع بسبب النت نجي للكلنت addEvent('setgrid',true) addEventHandler('setgrid',root,function(db) guiGridListClear(grid) for k,v in ipairs(db)do local row=guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,db[k].Name,false,false) guiGridListSetItemText(grid,row,2,db[k].Namee,false,false) end end) addEvent('cleargrid',true) addEventHandler('cleargrid',root,function(db) guiGridListClear(grid) end)1 point
-
addEventHandler("onClientElementDataChange", getRootElement(), function(dataName) if dataName == "Money" then local Money = getElementData(localPlayer, "Money") if tonumber(Money) and type(Money) == "number" then setPlayerMoney(Money) end end end)1 point
-
The community resource site runs an extremely dated interface with basically what could be considered spam summited in a huge multiple each month. The resources site could be replaced with the IPS downloads system with a lot more pros than cons. Pros to using the current resources page. Bug tracker accounts linked Separate site (if it even is) Cons to using current resource page. Vastly outdated user interface Little to no management, while it relies heavily on reports there seem to be no requirements for posting a resource Poor review and comments system Spambots run rampant in the comments (Less present on the forums) Pros to using the forums download system. Much better user interface Quicker loading times A much more detailed review and comments system Management would be a lot better Less Spam Would be a clean slate Easier updates Cons to using Forum download system. Contained on same site (Might be an issue if the community resources is hosted on an external host) Authors would have to manually migrate their resources (Clean slate 'see above') Just an idea as I know the thought of a new community resources setup has been thrown around, yet never executed. Further info regarding forums vs Community Site Community Forums1 point