Jump to content

Bssol

Members
  • Posts

    265
  • Joined

  • Last visited

About Bssol

  • Birthday 15/10/1993

Details

  • Gang
    [MGP]
  • Location
    Saudi Arabia

Recent Profile Visitors

2,702 profile views

Bssol's Achievements

Peon

Peon (20/54)

13

Reputation

  1. لان الفنكشنات هذي مصممة انها تستقبل الزاوية بالراديان اذا عوضت فيها زاوية بالدرجات، راح تطلع لك قيم خاطئة
  2. executeSQLQuery( 'CREATE TABLE IF NOT EXISTS `weaponAmmo` (account TEXT, weapon NUMERIC, ammo NUMERIC)' ) function onPlayerQuit( ) local playerAccount = getPlayerAccount(source) if ( playerAccount ) and ( not isGuestAccount(playerAccount) ) then local accountName = getAccountName(playerAccount) local checkData = executeSQLQuery( 'SELECT * FROM `weaponAmmo` WHERE account=?', accountName ) local ammoo = getPedTotalAmmo ( source ) local weaponn = getPedWeapon ( source ) if ( #checkData == 0 ) then executeSQLQuery( 'INSERT INTO `weaponAmmo` (account,weapon,ammo) VALUES(?,?,?)', accountName, weaponn, ammoo ) else executeSQLQuery( 'UPDATE `weaponAmmo` SET weapon=?,ammo=? WHERE account=?', weaponn, ammoo, accountName ) end end end addEventHandler ( "onPlayerQuit", root , onPlayerQuit ) function onPlayerLogin() local playerAccount = getPlayerAccount(source) local accountName = getAccountName(playerAccount) local weaponn1 = executeSQLQuery( 'SELECT * FROM `weaponAmmo` WHERE account=?', accountName ) if ( #weaponn1 ~= 0 ) then local wp = weaponn1[1]['weapon'] local am = weaponn1[1]['ammo'] giveWeapon ( source, wp, am ) end end addEventHandler("onPlayerLogin", root, onPlayerLogin ) الكود غير مجرب، جربه ورد لنا خبر
  3. local vehicle = getPedOccupiedVehicle(source) local x,y,z = getElementPosition(vehicle) local _,_,rz = getElementRotation(vehicle) x = 10 * math.cos(math.rad(rz+90)) + x y = 10 * math.sin(math.rad(rz+90)) + y markers[source] = createMarker(x,y,z-1,'cylinder',4,255,255,255,255)
  4. التايمر ماله داعي مادامك مستخدم onClientRender + لازم الدم والفلوس تكون داخل عشان تتحدث على العموم، الكود بعد التعديل function dxo() local hp = math.ceil ( getElementHealth(localPlayer) ) local money = (getElementData(localPlayer,"Money") or 0) dxDrawText("%"..hp, 879 - 1, 54 - 1, 965 - 1, 82 - 1, tocolor(0, 0, 0, 255), 1.50, "default", "center", "bottom", true, true, false, true, false) dxDrawText("%"..hp, 879 + 1, 54 - 1, 965 + 1, 82 - 1, tocolor(0, 0, 0, 255), 1.50, "default", "center", "bottom", true, true, false, true, false) dxDrawText("%"..hp, 879 - 1, 54 + 1, 965 - 1, 82 + 1, tocolor(0, 0, 0, 255), 1.50, "default", "center", "bottom", true, true, false, true, false) dxDrawText("%"..hp, 879 + 1, 54 + 1, 965 + 1, 82 + 1, tocolor(0, 0, 0, 255), 1.50, "default", "center", "bottom", true, true, false, true, false) dxDrawText("%"..hp, 879, 54, 965, 82, tocolor(51, 169, 203, 255), 1.50, "default", "center", "bottom", true, true, false, true, false) dxDrawText("$"..money, 838 - 1, 657 - 1, 1004 - 1, 683 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, false, true, false) dxDrawText("$"..money, 838 + 1, 657 - 1, 1004 + 1, 683 - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, false, true, false) dxDrawText("$"..money, 838 - 1, 657 + 1, 1004 - 1, 683 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, false, true, false) dxDrawText("$"..money, 838 + 1, 657 + 1, 1004 + 1, 683 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, false, true, false) dxDrawText("$"..money, 838, 657, 1004, 683, tocolor(37, 225, 28, 255), 2.00, "default", "left", "top", true, true, false, true, false) end addEventHandler("onClientRender",root,dxo)
  5. Bssol

    تعديل

    هذا الكود الي تقول انك عدلته، ما اشوف تعريف حق الـ name
  6. Bssol

    تعديل

    الكود الي حطيته انت غلط القيمة name مو معرفة في كود السيرفر + guiGridListGetSelectedItem ( gridlist2 ) ~= "" هذي بعد غلط، لان الفنشكشن هذا دايم يرجع قيمة رقم، وانت جالس تقارنه بنص فاضي، معناها المقارنة دائما صحيحة وراح يسوي تريقر ويروح للسيرفر
  7. Bssol

    تعديل

    Client function onClickToRemoveTeam ( ) if ( source == deletem ) then local row = guiGridListGetSelectedItem ( gridlist2 ) if ( row ~= -1 ) then local teamName = guiGridListGetItemText ( gridlist2, row, 1 ) triggerServerEvent( "Server;CreateTeam", localPlayer, "Delete", teamName ) end end end addEventHandler ( 'onClientGUIClick' ,root, onClickToRemoveTeam ) Server function deleteTeamFun( text, teamName ) if ( text == "Delete" ) then local team = getTeamFromName ( teamName ) if ( team ) then destroyElement ( team ) end end end addEvent( "Server;CreateTeam", true ) addEventHandler ( "Server;CreateTeam", root, deleteTeamFun )
  8. Hello, The problem is that the screen goes black (tring to enter) when starting MTA and then quits. No logo appears no nothing, just black screen and then quits. However, when I restart my device, the problem is solved but I have to stay in the game. If I closed the game, the problem may comes again or may not, but after a while, the problem is %100 there and I have to restart my device again. MTADiag http://pastebin.mtasa.com/647583023
  9. مشكورين يا اخوان على الرد، خصوصا الوحش ومجنون فيك، اشتقنا لكم ذذ اتمنى نشوف تواجدكم في السيرفر مثل السابق بالتوفيق لكم
  10. مشكورين يا شباب على الردود الحلوة اتمنى نشوف زيارتكم للسيرفر
  11. بالعكس، انا ارد على اي شخص يرد على مواضيعي، تقدر تشوف الموضيع الي هنا، راح تلاحظ اني ارد باستمرار على الردود .:[ الان، احصل على عضوية خاصة في سيرفر محترفين الالعاب ]:. .:[ قمبلة محترفين الالعاب الحصرية، شراء المقرات المطور ]:. .:[ احصائيات محترفين الالعاب متوفرة الان على الموقع ]:. .:[ موقع محترفين الالعاب بحلته الجديدة + منتدى ]:. لكني المره هذي نسيت الموضوع بكبره، ويوم خشيت انصدمت بـ 30 رد خخخخخ + ان شاء الله، راح احاول اسوي اللي قلته وبالتوفيق لك انت بعد شرفتنا بمرورك على الموضوع
  12. طيب اذا السيرفر كله يتكلم معك، وين تلحق ترد عليهم كلهم ذذ اذا ردينا على واحد وما ردينا على الثاني، وبعدين تقول تكبر، اعتقد مالك حق فيها لاني ما اقدر ارد على الجميع اعتقد انك ما تنكر ان الكل يناديني في الشات، ولا تنكر؟
  13. هذا انا ارد عليك الحين ذذ بدون تكبر بدون خرابيط
  14. اشكر الجميع على الردود الطيبة، خاصة فيس بوك ومبدع ومصري وزاحف، وبقية الشباب والله وقفتكم كانت وقفة رجال الله يعطيكم الف عافية بالنسبة للاخ G.Mix اتقبل رايك، لكن انك تقول ان برمجتي مو احترافية، اجل مدري على اي اساس يكون الاحتراف عندك ذذ اذا كانت برمجتي مو احترافية انا اتحداك انك تسوي عملية رفع المقرات من الموقع مثل ماهو موجود في سيرفري الي تقول عنه فاشل واتحداك تسوي نظام عضوية خاصة التفعيل مباشر بعد عملية الدفع بدون ما تنتظر يوم او يومين مثل بقية السيرفرات ومن متى انا اعرفك عشان اطلب موافقتك انك تخش عندي وتجي انت حضرتك لا توافق خخخخخخخخ هذي يبيلها دليل، صورة من السكايب او اي حاجة تثبتها ذذ
×
×
  • Create New...