Leaderboard
Popular Content
Showing content with the highest reputation on 09/03/17 in all areas
-
Still why should you apply for a whitelist while this looks similar to the gamemade SAPD:FR is offering.I'm rather playing there instead of applying just to play with a low player count.2 points
-
ما عندي صور الا عندي قديمه اتوقع صبر قبل سنه الصوره ولا 2 مدري والله https://www.youtube.com/channel/UCuaf9U_2ZGhvPlVQfua8Ovw ذي قناتي ما عندي صور وبالنسبه لقوائم التشغيل اللي منشاها ما عليكم منها بنت اختي الصغيره سوتها وهي جالسه تلعب بالتابلت حقي هههههه ومني عارف احذفها2 points
-
When did you become a MTA Forums Moderator? Did I miss something or what? Leave him be, OP might reply to him on this topic even if it was BUMP'd & stop acting like you're somebody you're not. EDIT: I will probably not reply any further as I don't want to start a topic war, I just wanted to note that you should leave this to the moderators to handle if they think a rule is broken.2 points
-
2 points
-
Vice City Roleplay is an entirely new roleplaying experience made completely from scratch utilizing MTA's latest script features in currently in Closed Beta. Our service exhibits a wide array of features, ranging from common functionalities such as factions and vehicle dealerships to a unique vehicle sound system based off of RPM with manual and automatic gear shifting or a slot based inventory system. The server is set in current day Vice City and due to the entire map being hosted on the server, players can connect and play without having to install a single client-side modification. The server tailors to your needs by giving players the ability to adjust the object streaming distance to their own preferences. Our core features are listed below, but as time passed and development continues, you can expect much more content even after the server's release. Roleplay in Vice City. An entirely new script: Scripted from the ground up. Multi-faction system: Players can be in 3 factions at the same time, whilst each faction provides 5 sub-divisions. Unrestricted faction ranks: Each member of a faction can have a unique rank set to them. Jobs-system: Players can make money in a simple way by working jobs, such as thrash masters or taxi drivers. Business-system: Players can start their own business and link jobs to them, meaning you can hire people to your business as thrash masters who will collect garbage. A slot-based inventory-system. Makes players able to expand their inventories using backpacks, which they can drop on the ground whilst the contents of it save. A right click menu allows players to interact with the objects in their inventory such as equipping different types of body armor. A Health System that calculates damage and simulates pain, and bleeding effects based off of the type of injuries such as cuts, blunt trauma, and even the caliber of a bullet. A Suppression system which makes firefights even more intense and realistic. An in-depth weapon-system which utilizes an entire library of firearms, magazines, and calibers where firearms can be named after real-life counterparts and will be displayed using the correct image in the inventory. Magazine compatibility checks ensure that the correct magazines can only be used in compatible weapon systems. Interior System: Enter interiors without delay or lag, even when entering interiors located in San Andreas. Or create your own using our Interior Builder. Place each wall or floor individually and in different sizes, making the perfect interior for your character. Furniture System: After you purchase or create your own interior, you can purchase furniture and model your home to your own liking. Texture System: Makes players able to texture anything from a Wall, Floor, Couch or Television, using a library provided by the server, or their own by simply putting in a link. A Vehicle System that uses custom vehicle sounds and calculates RPM, allowing cars to use any sound in our library independently whilst also giving players to option to purchase automatic or manual transmission vehicles. An MDC System that integrates both a dispatch and a web-interface, allowing easy callsign distribution, dispatching and accessing of reports. As states the features listed above are our core systems, meaning there's much more for players to enjoy and much more will be added as the server development progresses. Below you can go through some of our media and updates released in the past. Vice City Roleplay Teaser #1 Interior Building Timelapse Teaser #2 Status Updates You can find all of our Status Updates on our forums with no registration required at: https://forums.vc-rp.net/index.php?/forum/12-news-announcements/ Additionally, you can visit our own Wikipedia page for a more detailed explanation of our project's features: https://wiki.vc-rp.net/index.php/Main_Page Joining the Server Forums: https://forums.vc-rp.net/ MTA Server: mtasa://164.132.201.51:22003 (Closed Beta Participants Only) Teamspeak: 51.255.165.214 Discord: https://discord.gg/kpaJHft1 point
-
السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله اليوم بشرحلكم كيف تستخمون executeSQLQuery بطريقه مفصله بس اهم شي دعواتكم لي في الاختبار +_+ حق القدرات والله المستعان بس بسم الله نبدا طيب اولا executeSQLQuery هي وظيفه ثابته ما تتغير لكن فقط ما بين الاقواس هو اللي يتغير يعني انا شرحي ما اعرف اوصل المعلومه صح لكن حاولو تفهمو مني على قدر استطاعتكم +_+ نبدا باول وظيفه وهي انشاء قاعدة بيانات او بمعنى اصح تيبل executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)") طيب الان ناخذ ما بين الاقواس وحده وحده في حالة انشائك لاي تيبل بتكون هذي ثابته ما فيها اي تغيير ما تعدل عليها ابد CREATE TABLE IF NOT EXISTS الان نجيي للي بنعدل عليه players هذا وشو هذا اسم التيبل اللي تبيه وليكن حطيته انا ماستر Master بكذا يكون هذا اول متغير صادفك في انشاء التيبل (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT) نجي لهنا وش هي clothes_head_texture هذا اسم الكولمن اللي داخل التيبل اللي بندخل فيه القيم وما الى ذلك طيب وش هي TEXT هذا نوع الكولمن يحتوي بالمناسبه الكلومن=عمود على تكست فقط طيب والفاصله وش وظيفتها الفاصله تستخدمها لو تبي تسوي اكثر من كولمن مثلا في هذي الحاله هو هنا مسوي 3 كولمن الاول اسمه clothes_head_texture الثاني clothes_head_model والاخير name اتمنى وصلت فكرة انشاء التيبل طيب هنا نجي للحذف انا دخلت قيمه وما ابيها ابي احذفها من الجدول او مثلا سويت تفعيل اشتراك في رنت سيستم للاعب وابيه ينحذف من التيبل اللي عندي كيف بنشوف الان executeSQLQuery("DELETE FROM players WHERE name=?", playerName) وكالعاده هي ثابته DELETE FROM اما بالنسبه لذي players فهي بتكون ماستر لاننا بدلناها لو تذكرون في انشاء التيبل فوق هذا اسم التيبل اللي انشاناه ايا كان اسمهه Master زي ما قلنا فوق مثلا WHERE name=? هنا تبي تحذف من اي كولمن؟ اي عمود تبي تحذف منه هنا سوينا حذف من عمود name , playerName) الفاصله ثابته playername تكون القيمه اللي تبي تحذفها وليكن اسم اللاعب محمد ابي احذف محمد كيف بتكون كذا ,'محمد') على سبيل المثال فقط بالنسبه لكم انتم على حسب استخدامكم مثلا getPlayerName(source) المصدر اسم لاعب المصدر اللي بالايفينت على حسبكم انتم طيب افرض انا ابي احذف ايضا من clothes_head_texture هل بطر اسوي 2 سطر ورا بعض؟ executeSQLQuery("DELETE FROM players WHERE name=?", playerName) executeSQLQuery("DELETE FROM players WHERE clothes_head_texture=?", head) طبعا هيد تكونو معرفينها انتم ما يحتاج بس هل ذي طريقه صحيحه الجواب خطا الطريقه الصحيح لو تبي تحذف القيمه صح بتسوي كذا executeSQLQuery("DELETE FROM players WHERE clothes_head_texture=? AND name=?", head,playername) زي ما تلاحظون ظفت انت وحطيت فاصله بعد وبلاير نيم بالظبط هذا اللي بتسويه ملاحظه مهمه الان لازم كابيتال ما يصلح سمول نجيي للي بعده executeSQLQuery("DROP TABLE players" ) هذي وظيفه لحذف التيبل وفي حالة شرحنا بتكون زي ما قلنا ماستر يعني كذا executeSQLQuery("DROP TABLE Master" ) executeSQLQuery("SELECT score,health FROM players WHERE name=?", playerName ) طيب هذي وشو هذي تجيبلك بينات من التيبل للاعب معين مثلا اانت لما دخلت للتيبل سويت اللاعب مع نقاطه مثلا SELECT ثابته كالعاده score,health هذي اسماء الكولمن اللي تبي تختار منها البيانات في حالة شرحنا بتكون clothes_head_texture, clothes_head_model طيب FROM players WHERE name=? بشرحها دفعه وحده FROM ثابته players اسم التيبل وفي حالتنا بتكون Master WHERE ثابته name=? هذا اللي عندك قيمته تبي تختار من عمود الاسماء بينات اللاعب اللي جمبو اللي هي clothes_head_texture, clothes_head_model فهمتو طيب بيكون التعريف كذا مثلا local ss,mm=executeSQLQuery("SELECT clothes_head_texture, clothes_head_model FROM Master WHERE name=?", playerName ) بكذا بيطلعلك القيمتين المجهولتين نجي للي بعده اوه قبل لا نجي للي بعده في شي افرض انا ابي كل التيبل بسوي كذا local table=executeSQLQuery("SELECT * FROM Master" ) كذا بيكون عندي جمميع البيانات اللي بالتيبل نجي للي بعده executeSQLQuery("INSERT INTO players(name,color,sound) VALUES(?,?,?)", playerName, colorName, soundName ) وش وظيفتها الادخال في التيبل تبي تدخل قيم جديده INSERT INTO players(name,color,sound) VALUES(?,?,?) اولا الانزرت ثابته وانتو ثابته اما ما بين الاقواس فبتكون اسماء العمود اللي تبي تدخل فيه القيم وفي حالتنا INSERT INTO players (name,clothes_head_texture, clothes_head_model) VALUES(?,?,?) VALUES(?,?,?) وش هذي هذي عدد القيم ونعبر عنها باستفهام لاننا بنكتبها باخر السطر بنشوف افرض عندي اربع عواميد راح نزيد ,? وبالتالي بتصير كذا VALUES(?,?,?,?) لكن احنا حاليا شغالين على 3 فمافي داعي VALUES(?,?,?) نكمل , playerName, colorName, soundName ) playername هذا اللي تبي تدخله في العمود الاول حسب الترتيب (name,clothes_head_texture, clothes_head_model) اللي سويته هنا وكذلك الباقي نجي للي بعده executeSQLQuery("UPDATE players SET color=?,sound=? WHERE name=?", colorName, soundName, playerName ) هذي وظيفتها تحديث البيانات افرض اللاعب زادت نقاطه كل اللي عليك انك تستخدم هذي الوظيفه لتحديث بياناته UPDATE players SET ابديت ثابته players في حالتنا بتكون Master بالنسبه ل SET ثابته color=?,sound=? WHERE name=? color=?,sound=? في حالتنا بتكون كذا clothes_head_texture=?, clothes_head_model=? بالنسبه ل WHERE name=? هذا وين تبي تحدث انت عند اي اسم تبي تحدث؟ على حسب اسم اللاعب اللي زادت نقاطه مثلا طيب colorName, soundName, playerName colorName هذا زي ما قلت بالترتيب حق العواميد اللي سويته يعني ذا راح يروح ل clothes_head_texture soundName وهذا راح يروح ل clothes_head_model والقيمه الاخيره وهي اللي نبي نحدث عندها اسم اللاعب اللي زادت نقاطه playerName اللي بتكون عند WHERE name=? وفي الختام اتمنى من كل قلبي تكونو استفدتو ولا تنسو دعواتكم بالمناسبه الشرح لارضاء الاخ ابوسولو لانه بغا شرح له من زمن @Abu-Solo ولك ايضا عزيزي المتابع لا تنسوني من دعواتكم يقلبي بالتوفيق يا رب لي ولكم1 point
-
1 point
-
جرب ذا وشوف local marker = createMarker ( 2459.77466,-1661.70081,12.90843 , "cylinder" ,3 , 255 , 255 , 0 , 170) addEventHandler ("onClientMarkerHit",marker, function ( DeveloperAhmed ) if ( DeveloperAhmed == localPlayer ) then local PlayerCar = getPedOccupiedVehicle ( DeveloperAhmed ) local PlayerMoney = getPlayerMoney () if PlayerMoney >= 500 then if PlayerCar then fixVehicle ( PlayerCar ) takePlayerMoney ( 500 ) outputChatBox ( "your car fixed - Cost: 500$" ) else outputChatBox ( "you are not in vehicle" ) end else outputChatBox ( "you have no money - your money < 500 $" ) end end end ) ملاحظة : اللعبة ما تشتغل عندي الاكواد اما اسويها بدون تجربة او اعدل عليها بدون تجربة1 point
-
1 point
-
You probably want to check the input before doing anything, so move the if from line 4 up to line 2. Then in line 4 you should check if otherPlayer is not false...so something like this. function payScript(player,cmd,other,amount) if not other or not amount then outputChatBox( "#00BAFF[Play] #FFffFFHelyes használat: #0088FF/pay <név> <összeg>!", player, 0, 255, 255, true ) else local money = getPlayerMoney(player) local otherPlayer = getPlayerFromName(other) if otherPlayer then if (money - amount) < 0 then outputChatBox("#00BAFF[Play] #FFffFFNincs elegendo #0088FFpénzed!",player,0,255,255, true) else setPlayerMoney( otherPlayer, getPlayerMoney(otherPlayer) + amount ) outputChatBox( "#00BAFF[Play] #FFffFFKaptál #0088FF"..amount.."Ft-ot #FFffFFtole: #0088FF".. getPlayerName(player).."!",otherPlayer,0,255,255,true ) setPlayerMoney( player, money - amount ) outputChatBox( "#00bAFF[Play] #0088FF"..amount.."Ft-ot #FFffFFküldtél neki: #0088FF"..other.."!",player,0,255,255, true ) end else outputChatBox( "Could not find player ".. other, player, 0, 255, 255, true ) end end end addCommandHandler( "pay", payScript )1 point
-
HelloWorld(ArgumentsHere) The arguments are the data processed by the function. You mentioned functions with a parameter called "thePlayer". The name suggests* that the function accept a player-type variable, and therefore performs actions on that player/using that player data. *Suggest: Arguments names are just something to recognise that parameter. It's not a type or whatever. If you called that "foo" or "someVariableNameChosenRandomly" and rename all the reference of that variable inside the function then no difference is made. Names are used to let humans understand easily the code. This is not a MTA question, so searching this on google about LUA (or every other programming/scripting language actually) will give you the info you need. Boolean is a variable type. It can store information in only 2 state: true and false. In LUA, false is represented by the false-values: false and nil. Every other value is considered true. This question is also not MTA related. You can have further informations using google with a general language. Reading errors and warning produced from the scripts is the first thing to do to "fix" and debug. The first warn tells you that argument 1 used in getPlayerAccount is nil. If you didn't pass nil, then you probably are calling this function without the rigth parameters (leaving them undefined -> nil) Probably this is a command handler (given the parameter names). In this case the passed player will be a string, and not a player-type variable. The warn 2, since the first function fails and returns false (boolean), is here to let you know that the same problem happened here: an account-type var was expected, instead false was passed. function setAdminRanks(theAdmin, cmd, thePlayerName, rank) local thePlayer = getPlayerFromName( thePlayerName ) if not thePlayer then --if getPlayerFromName returned false then no player with that name was found return --"kill" the function end local accountName = getAccountName(getPlayerAccount(thePlayer)) --do whatever you need, remember that rank parameter could be nil (unspecified) end1 point
-
----------------------------------------------------------------- Marker = createMarker ( x,y,z, "cylinder", 2, 255, 255, 0, 0 ) theTeam = "teamName" -- the team name ----------------------------------------------------------------- addEventHandler("onClientMarkerHit",Marker, function ( DeveloperAhmed ) if (getElementType (DeveloperAhmed) == "player") and (DeveloperAhmed == localPlayer) then local Team = getPlayerTeam(getLocalPlayer()) if Team and getTeamName(Team) == theTeam then showCursor(true) guiSetVisible( WindowName ,true) -- the window name exports["guimessages"]:outputClient("The window is showed...", 255, 255, 0,source) else showCursor(false) guiSetVisible( WindowName ,false) -- the window name exports["guimessages"]:outputClient("You should be in the team > "..theTeam, 255, 255, 0,source) end end end ) ----------------------------------------------------------------- جرب هذا ومع العلم انا ما جربتها ترا عندي اللعبة مب راضية تشتغل هايني دورت1 point
-
1 point
-
As of 09/03/2017 we've pruned the entire section, as we felt some sort of rules and guidelines were needed in order to achieve a good listing for both server staff and interested parties. Rules: - General forum guide of conduct and rules apply in this section. - Any modification which is outside limits for the OP shall be reported via the report system in order to be addressed by a moderator. This is mandatory, as the goal is to keep this section as clean as possible. - Topics must have a detailed description of your server, this involves a brief description of your community, gamemodes you're offering and anything else that helps players to get interested on you. - Drama, server bashing, staff bashing, won't be allowed by any means. Members found guilty of these behaviour will be punished accordingly to our general guidelines and more severe depeding of staff judgement. - You should be atleast a staff member (or owner) of the server you're advertising (so no promotion by 'satisfied players'). - It's not allowed to actively recruit or persuade people to leave a positive opinion on your topic. Moderators reserve the right to judge if a spree of posts is suspicious (likely to be a result of this practise) and remove it on their own discretion, this is non-negotiable. Formatting your topic: - Topic titles shall have the form [SERVER TYPE] Brief description/Name [LANGUAGE]. - The first post shall be written in at least 3 parts, being the first a brief description of yourself, the second any media you may provide about your server, mostly ingame shots and anything you might want to show to interested players, and the third one server details, this involves connection details, contact details, and anything else you may provide to get players to your community. Any thread not following this guidelines shall be deleted and the user/s involved been given a warning depending of the staff judgement.1 point
-
Please be more specific about the staff you're looking for, is it managing, scripting, modeling, etc, as the pinned topic in this section states.1 point
-
Replace the function with same name in your "mods\deathmatch\resources\[admin]\admin\server\admin_server.lua" file with this: function aAction ( type, action, admin, player, data, more ) if ( aLogMessages[type] ) then function aStripString ( string ) string = tostring ( string ) local adminguy if getElementType ( admin ) == "player" then adminguy = addTeamColor(admin) else adminguy = getPlayerName(admin) end string = string.gsub ( string, "$admin", adminguy ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or "" .. adminguy ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or "" .. adminguy ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string, "$player", addTeamColor ( player ) ) end return tostring ( string.gsub ( string, "$data", data or "" ) ) end local node = aLogMessages[type][action] if ( node ) then local r, g, b = node["r"], node["g"], node["b"] if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b, true ) end if ( node["admin"] ) and ( admin ~= player ) then outputChatBox ( aStripString ( node["admin"] ), admin, r, g, b, true ) end if ( node["player"] ) then outputChatBox ( aStripString ( node["player"] ), player, r, g, b, true ) end if ( node["log"] ) then outputServerLog ( aStripString ( node["log"] ) ) end end end end function addTeamColor(player) local playerTeam = getPlayerTeam(player) if ( playerTeam ) then local r,g,b = getTeamColor(playerTeam) local n1 = toHex(r) local n2 = toHex(g) local n3 = toHex(b) if r <= 16 then n1 = "0"..n1 end if g <= 16 then n2 = "0"..n2 end if b <= 16 then n3 = "0"..n3 end return "#"..n1..""..n2..""..n3..""..getPlayerNametagText(player) else return getPlayerNametagText(player) end end function toHex(n) local hexnums = {"0","1","2","3","4","5","6","7", "8","9","A","B","C","D","E","F"} local str,r = "",n%16 if n-r == 0 then str = hexnums[r+1] else str = toHex((n-r)/16)..hexnums[r+1] end return str end And replace everything in your "mods\deathmatch\resources\[admin]\admin\conf\messages.xml" file with this: <messages> <!-- Accepted subgroups: all - Output to chatbox for all log - Log file output player - Victim/Player chatbox output admin - Admin chatbox output Variables: $player - player $admin - admin $data - Additional information, not all the nodes use it. $data2 - Additional information, not all the nodes use it. --> <player> <group action="ban" r="255" g="0" b="0"> <all>#FFFFFF$player #FF0000was banned by #FFFFFF$by_admin_4all#FF0000. $data2</all> <log>ADMIN: $admin has banned $player $data $data2</log> </group> <group action="kick" r="255" g="0" b="0"> <all>#FFFFFF$player #FF0000was kicked by #FFFFFF$by_admin_4all#FF0000.</all> <log>ADMIN: $admin has kicked $player $data</log> </group> <group action="mute" r="255" g="0" b="0"> <all>#FFFFFF$player #FF0000was muted by #FFFFFF$by_admin_4all#FF0000.#FF0000 #00FF00$data2</all> <log>ADMIN: $admin has muted $player $data $data2</log> </group> <group action="setnick" r="255" g="0" b="0"> <log>ADMIN: $player name changed to $data2 $by_admin_4all.</log> </group> <group action="unmute" r="0" g="255" b="100"> <all>#FFFFFF$player #00FF00was unmuted by #FFFFFF$by_admin_4all#00FF00.</all> <log>ADMIN: $admin has unmuted $player</log> </group> <group action="freeze" r="255" g="0" b="0"> <admin>#FFFFFF$player #FF0000was frozen by #FFFFFF$by_admin_4all#FF0000.</admin> <player>#FF0000You were frozen by #FFFFFF$by_admin_4plr#FF0000.</player> <log>ADMIN: $admin has frozen $player</log> </group> <group action="unfreeze" r="0" g="255" b="100"> <admin>#FFFFFF$player #00FF00was unfrozen by #FFFFFF$by_admin_4all#00FF00.</admin> <player>#00FF00You were unfrozen by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has unfrozen $player</log> </group> <group action="slap" r="235" g="20" b="200"> <all>#FFFFFF$player #EB14C8was slapped by #FFFFFF$by_admin_4all#EB14C8. #00FF00($data HP)</all> <log>ADMIN: $admin has slapped $player ($data HP)</log> </group> <group action="shout" r="255" g="100" b="30"> <admin>#FF641EYou shouted at #FFFFFF$player#FF641E.</admin> </group> <group action="sethealth" r="0" g="170" b="170"> <admin>#FFFFFF$player#00AAAA's health was changed to #FFFFFF$data#00AAAA.</admin> <player>#00AAAAYour health was changed to #FFFFFF$data#00AAAA by #FFFFFF$by_admin_4plr#00AAAA.</player> <log>ADMIN: $admin has changed $player's health to $data</log> </group> <group action="setarmour" r="122" g="122" b="122"> <admin>#FFFFFF$player#7A7A7A's armour was changed to #FFFFFF$data#7A7A7A.</admin> <player>#7A7A7AYour armour was changed to #FFFFFF$data #7A7A7Aby #FFFFFF$by_admin_4plr#7A7A7A.</player> <log>ADMIN: $admin has changed $player's armour to $data</log> </group> <group action="setmoney" r="225" g="170" b="90"> <admin>#FFFFFF$player#FFAA5A's money was set to #FFFFFF$data#FFAA5A.</admin> <player>#FFAA5AYour money was set to #FFFFFF$data #FFAA5Aby #FFFFFF$by_admin_4plr#FFAA5A.</player> <log>ADMIN: $admin has set $player's money to $data</log> </group> <group action="setskin" r="255" g="122" b="0"> <admin>#FFFFFF$player#FF7A00's skin was changed to #FFFFFF$data#FF7A00.</admin> <player>#FF7A00Your skin was changed to #FFFFFF$data #FF7A00by #FFFFFF$by_admin_4plr#FF7A00.</player> <log>ADMIN: $admin has changed $player's skin to $data</log> </group> <group action="setteam" r="255" g="255" b="0"> <admin>#FFFFFF$player #FFFF00was moved to team #FFFFFF$data#FFFF00.</admin> <player>#FFFF00You were moved to team #FFFFFF$data #FFFF00by #FFFFFF$by_admin_4plr#FFFF00.</player> <log>ADMIN: $admin has moved $player to the $data team</log> </group> <group action="removefromteam" r="255" g="255" b="0"> <admin>#FFFFFF$player #FFFF00was removed from team #FFFFFF$data#FFFF00.</admin> <player>#FFFF00You were removed from team #FFFFFF$data #FFFF00by #FFFFFF$by_admin_4plr#FFFF00.</player> <log>ADMIN: $admin has removed $player from the $data team</log> </group> <group action="setinterior" r="0" g="255" b="0"> <admin>#FFFFFF$player #00FF00was moved to the #FFFFFF$data #00FF00interior.</admin> <player>#00FF00You were moved to the #FFFFFF$data #00FF00interior by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has moved $player to the $data interior</log> </group> <group action="setdimension" r="0" g="255" b="0"> <admin>#FFFFFF$player #00FF00was moved to the #FFFFFF$data #00FF00dimension.</admin> <player>#00FF00You were moved to the #FFFFFF$data #00FF00dimension by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has moved $player to the $data dimension</log> </group> <group action="setstat" r="255" g="122" b="0"> <admin>#FFFFFF$player#FF7A00's #FFFFFF$data #FF7A00was set to #FFFFFF$data2#FF7A00.</admin> <player>#FF7A00Your #FFFFFF$data #FF7A00was set to #FFFFFF$data2 #FF7A00by #FFFFFF$by_admin_4plr#FF7A00.</player> <log>ADMIN: $admin has changed $player's $data to $data2</log> </group> <group action="jetpackr" r="255" g="0" b="0"> <admin>#FFFFFF$player#FF0000's jetpack was removed.</admin> <player>#FF0000Your jetpack was removed by #FFFFFF$by_admin_4plr#FF0000.</player> <log>ADMIN: $admin has removed $player's jetpack</log> </group> <group action="jetpacka" r="255" g="122" b="0"> <admin>#FFFFFF$player #FF7A00was given a jetpack.</admin> <player>#FF7A00You were given a jetpack by #FFFFFF$by_admin_4plr#FF7A00.</player> <log>ADMIN: $admin has given a jetpack to $player</log> </group> <group action="adminr" r="255" g="0" b="0"> <admin>#FFFFFF$player#FF0000's admin rights were revoked.</admin> <player>#FF0000Your admin rights were revoked by #FFFFFF$by_admin_4plr#FF0000.</player> <log>ADMIN: $admin has revoked admin privilegies from $player</log> </group> <group action="admina" r="0" g="255" b="0"> <admin>#FFFFFF$player #00FF00was given admin rights.</admin> <player>#00FF00You were give admin rights by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has given admin privilegies to $player</log> </group> <group action="givevehicle" r="0" g="255" b="0"> <admin>#FFFFFF$player #00FF00was given a #FFFFFF$data#00FF00.</admin> <player>#00FF00You were given a #FFFFFF$data #00FF00by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has given $player a '$data'" </log> </group> <group action="giveweapon" r="0" g="0" b="255"> <admin>#FFFFFF$player #0000FFwas given a #FFFFFF$data #0000FF(#FFFFFF$data2#0000FF).</admin> <player>#0000FFYou were given a #FFFFFF$data #0000FF(#FFFFFF$data2#0000FF) by #FFFFFF$by_admin_4plr#0000FF.</player> <log>ADMIN: $admin has given $player '$data'</log> </group> <group action="warp" r="0" g="200" b="50"> <admin>#00C832You warped to #FFFFFF$player#00C832.</admin> <log>ADMIN: $admin has warped to $player</log> </group> <group action="warpto" r="0" g="200" b="50"> <admin>#FFFFFF$player #00C832was warped to #FFFFFF$data#00C832.</admin> <player>#00C832You were warped to #FFFFFF$data #00C832by #FFFFFF$by_admin_4plr#00C832.</player> <log>ADMIN: $admin has moved $player to $data</log> </group> </player> <team> <group action="createteam" r="225" g="170" b="90"> <admin>#E1AA5ASuccessfully created team $data#E1AA5A.</admin> <log>ADMIN: $admin has created a team '$data'</log> </group> <group action="destroyteam" r="225" g="170" b="90"> <admin>#E1AA5ASuccessfully destroyed team $data#E1AA5A.</admin> <log>ADMIN: $admin has destroyed a team '$data'</log> </group> </team> <vehicle> <group action="repair" r="0" g="255" b="0"> <admin>#FFFFFF$player#00FF00's vehicle was fixed.</admin> <player>#00FF00Your vehicle was fixed by #FFFFFF$by_admin_4plr#00FF00.</player> <log>ADMIN: $admin has fixed vehicle of $player</log> </group> <group action="blowvehicle" r="255" g="0" b="0"> <admin>#FFFFFF$player#FF0000's vehicle was blown.</admin> <player>#FF0000Your vehicle was blown by #FFFFFF$by_admin_4plr#FF0000.</player> <log>ADMIN: $admin has blown vehicle of $player</log> </group> <group action="destroyvehicle" r="255" g="0" b="0"> <admin>#FFFFFF$player#FF0000's vehicle was destroyed.</admin> <player>#FF0000Your vehicle was destroyed by #FFFFFF$by_admin_4plr#FF0000.</player> <log>ADMIN: $admin has destroyed vehicle of $player</log> </group> <group action="customize" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's vehicle was upgraded. (#FFFFFF$data#E1AA5A)</admin> <player>#E1AA5AYour vehicle was upgraded by #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has upgraded vehicle of $player ($data)</log> </group> <group action="customizer" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's vehicle upgrades were removed.</admin> <player>#E1AA5AYour vehicle upgrades were removed by #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has has removed vehicle upgrades of $player</log> </group> <group action="setpaintjob" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's vehicle paint job set to #FFFFFF$data#E1AA5A.</admin> <player>#E1AA5AYour vehicle paint job was changed to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has changed paint job of $player's vehicle to $data</log> </group> <group action="setcolor" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's vehicle color changed.</admin> <player>#E1AA5AYour vehicle color was changed by #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has changed color of $player's vehicle</log> </group> <group action="setlights" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's vehicle lights color changed.</admin> <player>#E1AA5AYour vehicle lights color was changed by #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has changed lights color of $player's vehicle</log> </group> <group action="setplates" r="225" g="170" b="90"> <admin>#FFFFFF$player#E1AA5A's license plates were changed to #FFFFFF$data#E1AA5A.</admin> <player>#E1AA5AYour vehicle license plates were changed to #FFFFFF$data #E1AA5Aby #FFFFFF$by_admin_4plr#E1AA5A.</player> <log>ADMIN: $admin has changed license plates of $player's vehicle to '$data'</log> </group> </vehicle> <resource> </resource> <server> <group action="setgame" r="225" g="170" b="90"> <admin>#E1AA5AASE gamemode info was changed to #FFFFFF$data#E1AA5A.</admin> <log>ADMIN: $admin has changed ASE gamemode to '$data'</log> </group> <group action="setmap" r="225" g="170" b="90"> <admin>#E1AA5AASE map info was changed to #FFFFFF$data#E1AA5A.</admin> <log>ADMIN: $admin has changed ASE map info to '$data'</log> </group> <group action="setwelcome" r="225" g="170" b="90"> <admin>#E1AA5AWelcome message was set to #FFFFFF$data#E1AA5A.</admin> <log>ADMIN: $admin has set welcome message to '$data'</log> </group> <group action="resetwelcome" r="225" g="170" b="90"> <admin>#E1AA5AWelcome message was reset.</admin> <log>ADMIN: $admin has reset the welcome message</log> </group> <group action="setpassword" r="225" g="170" b="90"> <admin>#E1AA5AServer's password was set to #FFFFFF$data#E1AA5A.</admin> <log>ADMIN: $admin has set server password to '$data'</log> </group> <group action="resetpassword" r="225" g="170" b="90"> <admin>#E1AA5AServer's password was reset.</admin> <log>ADMIN: $admin has reset server password</log> </group> <group action="settime" r="225" g="170" b="90"> <all>#E1AA5ATime was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has changed time to $data</log> </group> <group action="setweather" r="225" g="170" b="90"> <all>#E1AA5AWeather was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has set weather to '$data'</log> </group> <group action="blendweather" r="225" g="170" b="90"> <admin>#E1AA5ABlending weather to #FFFFFF$data#E1AA5A.</admin> <log>ADMIN: $admin is blending weather to '$data'</log> </group> <group action="setgravity" r="225" g="170" b="90"> <all>#E1AA5AGravitation value was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has set gravitation to $data</log> </group> <group action="setgamespeed" r="225" g="170" b="90"> <all>#E1AA5AGame speed was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has set game speed to '$data'</log> </group> <group action="setwaveheight" r="225" g="170" b="90"> <all>#E1AA5AWaves height was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has set waves height to '$data'</log> </group> <group action="setblurlevel" r="225" g="170" b="90"> <all>#E1AA5ABlur level was set to #FFFFFF$data#E1AA5A by #FFFFFF$by_admin_4all#E1AA5A.</all> <log>ADMIN: $admin has set blur level to '$data'</log> </group> </server> <bans> <group action="unbanip" r="225" g="170" b="90"> <admin>#E1AA5AIP: $data was successfully removed from bans list.</admin> <log>ADMIN: $admin has unbanned IP $data</log> </group> <group action="unbanserial" r="225" g="170" b="90"> <admin>#E1AA5ASERIAL: $data was successfully removed from bans list.</admin> <log>ADMIN: $admin has unbanned Serial $data</log> </group> <group action="banip" r="225" g="170" b="90"> <admin>#E1AA5AIP: $data was successfully added to bans list.</admin> <log>ADMIN: $admin has banned IP $data</log> </group> <group action="banserial" r="225" g="170" b="90"> <admin>#E1AA5ASERIAL: $data was successfully added to bans list.</admin> <log>ADMIN: $admin has banned Serial $data</log> </group> </bans> <admin> <group action="create" r="225" g="170" b="90"> <admin>#FFFFFF$data #E1AA5Awas successfully created.</admin> <log>ADMIN: $data has been created by $admin</log> </group> <group action="destroy" r="225" g="170" b="90"> <admin>#FFFFFF$data #E1AA5Awas successfully destroyed.</admin> <log>ADMIN: $data has been destroyed by $admin</log> </group> <group action="password" r="50" g="255" b="50"> <admin>#32FF32Your password was successfully changed to #FFFFFF$data#32FF32.</admin> </group> <group action="settings" r="225" g="170" b="90"> <admin>#E1AA5A#FFFFFF$data #E1AA5Awas set to #FFFFFF$data2#E1AA5A.</admin> <log>ADMIN: Set '$data' to '$data2' by $admin</log> </group> </admin> </messages> Ofcourse make a backup before doing any of this Good luck, looks nice if you ask me (better than to just remove color codex imo).1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Hello, somebody know why server name in Master List output incorrect server name, but in Favorite all ok? https://master.mtasa.com/ase/mta/ output too incorrect name Favorites: https://www.dropbox.com/s/0mrgh63ql7a6072/Скриншот 2017-03-09 10.49.06.png?dl=0 .conf: https://www.dropbox.com/s/3pyt0lcii3zciph/Скриншот 2017-03-09 10.55.30.png?dl=0 Servers List: https://www.dropbox.com/s/7b69txbtltqsp34/Скриншот 2017-03-09 10.49.13.png?dl=0 ASE: https://www.dropbox.com/s/a7e8qiiur2cxztf/Скриншот 2017-03-09 10.54.26.png?dl=01 point
-
من قالك انك ما بتستخدم كود الاخ نكست انا حليلتك المشكله اللي تقول افرض تلغبطو فقط؟ خليت قيمة الادخال مثال اوضح لك عشان تشوف كذا بيكون local rowsnum=guiGridListGetRowCount ( thegrid ) guiGridListSetItemText(thegrid,guiGridListInsertRowAfter(thegrid,rowsnum),1,getPlayerName(source),false,false) اتوقع وصلت الفكره؟1 point
-
That's modulus. It get's the remainder of 2 numbers that divide into each other. For example 5%2 will give you 1, because you can only divide 2 into 5 twice (2x2=4) and the remainder is 1. 6%3 = 0, because 2x3 = 6 7%3 = 1, because 2x3 = 6 and remainder is 1 etc. Most of the times I used it to check if a number is even like: local myNum = 11 if ( myNum % 2 == 0 ) then -- if you divide by 2 and no remainder, it's even print('even') else print('odd') end1 point
-
I fixed my admin resource and made it show the actual color of the nickname (not the hex code). If you want i can give you my stuff. Answer here when you can.1 point
-
local row = guiGridListAddRow(gridlist) time = getRealTime() guiGridListSetItemText ( gridlist, row , 1, '['..(time.hour % 12 and time.hour % 12) ..':'..time.minute..':'..time.second..'] - [20'..string.sub( time.year, 2 )..'/'..time.month..'/'..time.monthday..']', false, false )1 point
-
1 point
-
1 point
-
Section Rules 1. Any fulfilled requests or discarded offers shall be reported via the report system in order to be locked and/or archived. This is mandatory, as the goal is to keep this section as clean and accurate as possible. 2.Topics must have a sufficient description of what are you offering or looking for. Eg. if you're looking for a scripter for your gamemode, you must detail what would you need the scripter for. This doesn't exactly involve giving away the whole concepts or whatever you don't want to disclose to the public, but it would be appreciated if you could include more details than just straight single line offers, such as "I need a scripter for a zombie gamemode". Whether or not the amount of detail is sufficient for the nature of your request is a subject to moderator judgement, and failing to meet criteria may result in your post being discarded. Formatting your topic In order to keep the section clean, accurate and easily viewable, it would be appreciated if you could use the following guidelines for your topic: 1. Topic titles should have the form [LF/OFFERING] Brief description [Paid/Non-Paid]. Please make the description as brief as possible here. Eg: [OFFERING] Skilled scripter [Paid] [OFFERING] Rookie modeller looking for some practice [Non-paid] [LF] Any-level scripter for a small server [Non-Paid] 2. The first post should be written in at least 2 parts: first part should contain a brief description of yourself (and/or the server or community you are from) second part should elaborate on what are you requesting/offering, once again, as detailed as you possibly can/want1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point