Leaderboard
Popular Content
Showing content with the highest reputation on 04/12/18 in all areas
-
3 points
-
Hello friends! We want to introduce you to the new gamemode in MTA. Would you like to visit Mars? Subscribe to the topic to get the latest news! Twitter: https://twitter.com/MTAMarsX VK: https://vk.com/mtamarsx1 point
-
OMG I done it !! I done it !! It's working pretty much cool !! Thanx for your suppor @IIYAMA Client Side :- addEventHandler("onClientPlayerWeaponFire",root, function (_,_,_,_,_,_,h) if h and getElementType(h) == "vehicle" then local targetStart = Vector3(getPedTargetStart(localPlayer)) local targetEnd = Vector3(getPedTargetEnd(localPlayer)) local dir = (targetStart-targetEnd):getNormalized() triggerServerEvent("onFired",resourceRoot,h,dir.x,dir.y,dir.z) end end ) Server Side :- addEvent("onFired",true) addEventHandler("onFired",root, function (h,dirx,diry,dirz) setElementVelocity(h,-dirx,-diry,-dirz) end )1 point
-
Ah sorry, in case of hitting the vehicle, you need to use ped target start. But you are almost there.1 point
-
Subtract the ped-target-start position from the ped-target-end postion(or hit position) https://wiki.multitheftauto.com/wiki/GetPedTargetStart https://wiki.multitheftauto.com/wiki/GetPedTargetEnd And then make a vector of it + normalize it: https://wiki.multitheftauto.com/wiki/Vector/Vector3#getNormalized If the vehicle is at a remote location, then use instead of the ped start position, the vehicle position and do the same steps. (You might want to consider using the hit location of the event instead of the ped-target-end position.)1 point
-
بالعكس انا متساهل مع الجميع, دائماً اعطي المخالف فرصة اولى قبل التحذير الا في حالات خاصة1 point
-
@MR.Mosa, @!#DesTroyeR_,) نكتفي بالانذار الشفهي ذي المرة - @SuperX ههههههههههههههههههههههههههههه حلوة1 point
-
1 point
-
or you can do the code like following; this only the 'buttonClick' function. function buttonClick(button,state) if getElementData(localPlayer, "logedin") then if button == "left" and state == "up" then local nRow, nColumn = guiGridListGetSelectedItem( SHOP.gridlist[1] ) if nRow ~= -1 and nColumn ~= - 1 then local selectedItem = guiGridListGetItemText ( SHOP.gridlist[1], guiGridListGetSelectedItem ( SHOP.gridlist[1] ), 1 ) local price = guiGridListGetItemText ( SHOP.gridlist[1], guiGridListGetSelectedItem ( SHOP.gridlist[1] ), 2 ) local money = getPlayerMoney(thePlayer) if (money) >= tonumber(price) then guiLabelSetColor( SHOP.label[1],255,255,255) -- guiSetText( SHOP.label[1],"pietiek nauda") setPlayerMoney(money -tonumber(price)) if selectedItem == "MK 48 Mod 0 Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+100) elseif selectedItem == "M4A1 Holo Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+20) elseif selectedItem == "AK-107 Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+30) elseif selectedItem == "DMR Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+5) elseif selectedItem == "CZ550 Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+10) elseif selectedItem == "PDW Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+30) elseif selectedItem == "M1911 Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+10) elseif selectedItem == "1866 slug" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+7) elseif selectedItem == "Lee Enfield Mag" then setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+10) else setElementData(getLocalPlayer(),selectedItem,getElementData(getLocalPlayer(),selectedItem)+1) end guiLabelSetColor( SHOP.label[1],10,255,10) guiSetText( SHOP.label[1],"You succesfully bought "..selectedItem.." and you still have "..(money -tonumber(price)).." K.B.K Points") else outputChatBox("no enough money !",255,0,0) end else guiLabelSetColor( SHOP.label[1],255,10,10) guiSetText( SHOP.label[1],"You are missing "..(price -tonumber(money)).." K.B.K Points") end else guiSetText( SHOP.label[1],"Select something first") guiLabelSetColor( SHOP.label[1],255,255,255) end end end1 point
-
1 point
-
GTC RPG GAMING SOCIETY Welcome to the topic of GTC:RPG. GTC:RPG has been created in the early stages of RPG servers in 2018. The server has been just released and is looking for some good players our goals are very big, we inteand to build a server so everyone can enjoy it, the server owner is a arabic developer since 2012 GTC was once SAEC if u can remember it since is has been down @Tanger decided to start it again so here it is. @Tanger with alot of knowledge about MTA and having experience being an MTA Lua programmer member, decided to bring it back with three others.GTC Staff Team Owner - Maxman / Scripter Co - Owners -Casa - Community Managers Head Of Staff - Skymask- Staff Managers Super Moderators - N/A - N/A Senior Moderators -Pinkman N/A Moderators -SpecialBoy - Moderator of the server Junior Moderator - N/A - N/A Trial Moderators -Savage Inactivity -N/A GTC :RPG creates it's own scripts, thanks to LilDawage for scripting and putting alot of time into it. This topic will give you an overview about what we've done so far and what we're based on. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Custom Titles Welcome to Grand Theft Cummunities official custom title script made by skymask. Information? Wish to purchase your own title? contact an owner or any TMT- Tittle Management Team! ~ Prices ~ Normal Title - IG $ : 5.5m -50 cent Title with Designs - IG $ : 6m IRL $ : 1$ ~ Commands ~ "custom_titles" Command to change Title Colour? "titlecolor r g b " example " titlecolor 255 255 255 " ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Job Stats ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Welcome to Grand Theft Cummunity Job Stats Information? Wish to upgrade your perks?? Work as the jobs given in the panel ! ~ Gangster ~ Hack an ATM ~ 4-5k VIP? ~ 5K-10k Rob Stores ~ 4-5k VIP? ~ 5K-10k Hack ATM ~ 4-5k VIP? ~ 5K-10k ~ Picture ~ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- GTC RPG Free for All Event ~~~ Features of the FFA Event ~~~~ 1. The players travel over an area in a plane and they must press an key to jump out 2. Once they land and the event is started, they can find items arround map 3. All killing is allowed, 4. This event is based on PUBG Welcome to the FFA event ! this event is like pubg but for mtasa you must survive and kill as much people as you can if you win the staffs will reward you with a prize of there choice so play hard and enjoy - Skymask ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ~ Thugs ~ Thugs ? what is it? well its a simple job Thugs~ this job you can use to turf the areas in the map it is also like a gangster, you can rob and hack atm with this job thugs cannot kill gangsters and gangsters cannot kill criminals. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- CONNECTION Server is developing! IP : mtasa://134.119.223.179:5 This is it for now, I'll keep on updating this topic to keep the community updated about the stuff happening right now. Feel free to join our discord and forum: https://discord.gg/Rgvy6KV http://gtcrpg.ml/ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------1 point
-
I finally fixed it! From here: https://wiki.multitheftauto.com/wiki/Resource_Web_Access#Calls_from_the_HTTP_web_interface I had to set all occurrences of "<right name="general.http" access="true"></right>" to true and also had to add it for all ACL groups. Now works like a charm No annoying login anymore.1 point
-
همم طفشت والله يشباب ما عاد لي خلق بشي ابد كل شي مسككر بوجهي صراحه لا انا فلحت بدراسه ولا بمشاريع انترنت عالعموم بالتوفيق ما عندي اي تعليق على الموضوع1 point
-
السلام عليكم ورحمة الله وبركاته بنبدء اليوم بنغير تصميم الموقع الخاص بمجتمع العرب وخلال اسبوع او اسبوعين راح ننزل اول نسخه تجريبيه طبعا للاستضافه و المنتدى اتمنى منكم تعطوني وش تبوون ووش ماتبون بالموقع ووش اقتراحاتكم بالانتظار1 point
-
O MTA só possui o SQLite como database integrada. Para utilização do MySQL deve-se instalar o respectivo servidor em sua máquina ou então efetuar a conexão de maneira remota, por isto a necessidade dos parâmetros: ip, porta, login e senha. Ou seja, fica muito mais viável a utilização do próprio SQLite do MTA, pois caso use um MySQL remoto o delay nas transferências de dados aumentará significativamente. E não tem qualquer relação com ele ser mais seguro ou não, até porque a database integrada do MTA é acessível só localmente. Já em servidores MySQL pode-se ocorrer de ficar acessível para qualquer um (o que o torna mais vulnerável). Um diferencial que pode ser significativo, é que o MySQL possui uma gama maior de instruções/utilizações.1 point
-
A diferença de banco de dados local (o que talvez seja o que você tá usando) e banco de dados hospedado é que o hospedado vai ter o uso contínuo de largura de banda, essa eu acredito que seja a diferença mais relevante.1 point
-
مع اني مابي ابي ارفع الموضوع نهائيا في بعض الناس يعدلون اللوحات واشياء بسيطه جداا ما تستهلك اكثر من 100 سطر ومع كل احترامي لهم وكلامي ذا مو طحطيم بس واقع وصراحة الواحد ساكت على ذا الكلام بلأخير لازم يتكلم عليه ويتانقش فيه والا تلقيه مشتري سكريبت بعدين يعدل اللوحة ويقول مود وزارة او فخامة على شن نحن نقول واو مشاءالله عليه واغلب المبرمجين يعرفون سكريبت اول من يكتب يبيله تركيز تاام ووضائفها ع اقل شخص مبرمج خبرة 6 اشهر وحافظ اكواد ومابي اطول عليك الله يهدي الجميع بلأخير باب ونقفله مثل ما انا سويت مع سعد قفلت الباب والحمدالله بكفي المشاكل ما ربحت بيها شيء ولا استفدت فيها شيء زي ما انا وشكراَ1 point
-
Hello, Im looking for scripter who can make for me TV script. I need this script done in 2 weeks. Description about script: All data saving in mysql database and videos playing from youtube. Can place TV only where dimension > 0, only 1 TV per dimension and loads only when enter in dimension (for perfomance). GUI for selecting video from youtube and GUI opens when click on TV. My budget is 20 EUR. I will pay (paypal) only after I will see script working in your dev server. If you think you can do this then PM me.0 points
-
0 points
