-#GMG

Members
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

About -#GMG

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. السلام عليكم انا عايز اعمل انه لم حد يضغط علي زر يسوي له ايكو لشي معين وبعدين يسوي انسرت لهل شي ف قاعده البيانات وهل شي يكون عشوائي يعني يسوي له ارقام عشوائيه API KEY مثل كذا MTA-SPKTV4JWY464OPJMA31KHL0GXP MTA-FMMZTACL8MCOO8LOUPED56VPP ويحفظه ف القاعده وابي انه يجيب هل حروف والارقام عشوائيا شسوي
  2. معاك شي اقدر اتواصل معاك عليه؟
  3. لم اجي اشغل الموقع علي الـ xampp يجيب كدا Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xamppp\htdocs\shop\system\database\drivers\mysql\mysql_driver.php:91 Stack trace: #0 C:\xamppp\htdocs\shop\system\database\DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 C:\xamppp\htdocs\shop\system\database\DB.php(148): CI_DB_driver->initialize() #2 C:\xamppp\htdocs\shop\system\core\Loader.php(346): DB(Array, NULL) #3 C:\xamppp\htdocs\shop\system\core\Loader.php(1171): CI_Loader->database() #4 C:\xamppp\htdocs\shop\system\core\Loader.php(152): CI_Loader->_ci_autoloader() #5 C:\xamppp\htdocs\shop\system\core\Controller.php(51): CI_Loader->initialize() #6 C:\xamppp\htdocs\shop\application\controllers\guest.php(7): CI_Controller->__construct() #7 C:\xamppp\htdocs\shop\system\core\CodeIgniter.php(308): Guest->__construct() #8 C:\xamppp\htdocs\shop\index.php(202): require_once('C:\\xamppp\\htdoc...') #9 {main} thrown in C:\xamppp\htdocs\shop\system\database\drivers\mysql\mysql_driver.php on line 91
  4. تمام عندك برنامج اني ديسك انا داخل اكلمك ديسكورد الان رسلت لك .
  5. مشكور جدا انا الكود دا من 2015 بس جلس اعدل عليه شويه لو اقدر اتواصل معاك واتس او فيس هات اي حاجة اقدر اتواصل معاك بيها
  6. السلام عليكم انا شغال ع سكربت كبير فا ماينفع انزل المشكله هنا لانها منقسمه الي ملفات كثير , المشكله ف ربط قعده البيانات ب الوجن وغيره لم اجي اسجل يقولي ان الباس غلط مع انه صح وانا واخده كوبي من القاعده كود الربط <?php $host = "localhost"; $user = "root"; $pass = "1234566"; $db = "project1"; $konek = mysql_connect($host, $user, $pass) or die ('Failed to Connect! '); mysql_select_db($db); ?>
  7. Unpacking ogp-agent (3332) over (3332) ... dpkg: dependency problems prevent configuration of ogp-agent: ogp-agent depends on libxml-parser-perl; however: Package libxml-parser-perl is not installed. ogp-agent depends on libpath-class-perl; however: Package libpath-class-perl is not installed. ogp-agent depends on screen; however: Package screen is not installed. ogp-agent depends on rsync; however: Package rsync is not installed. ogp-agent depends on unzip; however: Package unzip is not installed. ogp-agent depends on subversion; however: Package subversion is not installed. dpkg: error processing package ogp-agent (--install): dependency problems - leaving unconfigured Processing triggers for systemd (215-17+deb8u7) ... Errors were encountered while processing: ogp-agent شو هل مشكلة عند كتابة الامر sudo dpkg -i "ogp-agent-latest.deb" @iMr.WiFi..! ملاحظة : انا افتح الـ ديبان 8 ب الـ ssh مب بباسورد الروت لانه ما اخذته من ovh ممكن تساعدني؟ اسطبها
  8. addEventHandler("onClientGUIClick",root, if source == Votenow then local row, col = guiGridListGetSelectedItem (GridVoteePlayer) if ( row and col and row ~= -1 and col ~= -1 ) then if row > -1 and row < 1 then end end end end ) --- اعتقد لاني مافهمت الخطا
  9. --C function ClientExplosionCFunction() if getElementDimension(source) == 55 or getElementDimension(source) == 50 or getElementDimension(source) == 999 then cancelEvent() end if getElementData(source,"TurfMission") then cancelEvent() end end addEventHandler("onClientExplosion", root, ClientExplosionCFunction) addEventHandler("onClientPreRender", root, function() if getElementDimension(localPlayer) == 55 or getElementDimension(localPlayer) == 50 or getElementDimension(localPlayer) == 999 or getElementData(localPlayer,"TurfMission") then if getPedWeaponSlot(localPlayer) == 8 then setPedWeaponSlot(localPlayer, 0) end end end) --S --by #GMG function STARTMissions() if not isTimer(startMission1) then startMission1 = setTimer(function() NameMission() -- مكان الاسم ذا ملف المود حق المهمة startMission2 = setTimer(function() Name Mission() -- مكان الاسم ذا ملف المود حق المهمة startMission3 = setTimer(function() Name Mission() -- مكان الاسم ذا ملف المود حق المهمة STARTMissions() end, 30*60*1000, 1) -- Name Mission end, 30*60*1000, 1) -- Name Mission end, 30*60*1000, 1) -- Name Mission end, 1000, 1) -- اول مهمة .. end end addEvent("STARTMissions",true) addEventHandler("STARTMissions",root,STARTMissions) addEventHandler("onResourceStart", getResourceRootElement( getThisResource( ) ), STARTMissions) ----------------------- function NameMission() setTimer(function() startResource(getResourceFromName ( "NameMission" )) end,1000,1) stopResource(getResourceFromName ( "NameMission2" )) stopResource(getResourceFromName ( "NameMission3" )) stopResource(getResourceFromName ( "NameMission4" )) end function NameMission2() stopResource(getResourceFromName ( "" )) setTimer(function() startResource(getResourceFromName ( "" )) end,1000,1) stopResource(getResourceFromName ( "" )) stopResource(getResourceFromName ( "" )) stopResource(getResourceFromName ( "" )) end function M3SniperMission() stopResource(getResourceFromName ( "" )) -- توقف اول مهمة اشتغلت stopResource(getResourceFromName ( "" )) -- توقف تاني مهمة اشتغلت setTimer(function() startResource(getResourceFromName ( "M3" )) -- تشغل اسم المهمة الثالثه end,1000,1) stopResource(getResourceFromName ( "" )) stopResource(getResourceFromName ( "" )) stopResource(getResourceFromName ( "" )) end ----------------------- function getTimeLeft(Timer) ms = getTimerDetails(Timer) local m = math.floor(ms/60000) local s = math.floor((ms-m*60000)/1000) if m < 10 then m = "0"..m end if s < 10 then s = "0"..s end return "("..m..":"..s..")" end function MissionsTime(player) if isTimer(startMission1) then exports["guimessages"]:outputServer(player,"Next Mission : Name1 Mission started after: "..getTimeLeft(startMission1), 0, 255, 255) elseif isTimer(startMission2) then exports["guimessages"]:outputServer(player,"Next Mission : Name2 Mission started after: "..getTimeLeft(startMission2), 0, 255, 255) elseif isTimer(startMission3) then exports["guimessages"]:outputServer(player,"Next Mission : Name3 Mission started after: "..getTimeLeft(startMission3), 0, 255, 255) end end addCommandHandler("times",MissionsTime) addCommandHandler("MissionsTime",MissionsTime) local Display = textCreateDisplay() local NextMission = textCreateTextItem("", 0.11, 0.015, "high", 0, 255, 255, 255, 1, "center", "center", 255) textDisplayAddText(Display, NextMission) function MissionsDisplayTime() for k,p in ipairs(getElementsByType("player")) do textDisplayAddObserver(Display, p) end setTimer(function() if isTimer(startMission1) then textItemSetText(NextMission, "Next :MissionName Mission :"..getTimeLeft(startMission1)) elseif isTimer(startMission2) then textItemSetText(NextMission, "Next :MissionName Mission :"..getTimeLeft(startMission2)) elseif isTimer(startMission3) then textItemSetText(NextMission, "Next :MissionName Mission :"..getTimeLeft(startMission3)) end end,1000,0) end addEventHandler("onResourceStart", getResourceRootElement( getThisResource( ) ), MissionsDisplayTime) addEventHandler("onPlayerLogin", root, function () textDisplayAddObserver(Display, source) end )
  10. الي فهمتهه تبي زر لم يضغط عليها يظهر له كلمه بلشات الي هي باسورد الكومند ويكتبه باف8؟ هذا قصدك؟
  11. تصحيح . مايجيب الشات وكذا الكود حقي --C addEvent("SendMessageToChatPlayerPanel",true) addEventHandler("SendMessageToChatPlayerPanel",root, function(theText, data, supportSender) if (theText) then local row = guiGridListAddRow(GridListMessages) local Account = getElementData(source,"Account") guiGridListSetItemText(GridListMessages, row, 1, data, false, false) guiGridListSetItemText(GridListMessages, row, 2, getPlayerName(source), false, false) guiGridListSetItemText(GridListMessages, row, 3, theText, false, false) guiGridListSetItemText(GridListMessages, row, 4, Account, false, false) guiGridListSetItemData(GridListMessages, row, 2, source) guiGridListSetItemColor(GridListMessages, row, 4, 255,255,0) local r,g,b = getPlayerNametagColor(source) if r and g and b then guiGridListSetItemColor(GridListMessages, row, 2, r,g,b) else guiGridListSetItemColor(GridListMessages, row, 2, 255,255,255) end if guiCheckBoxGetSelected(WachChatPosition) then setTimer(function() guiGridListSetVerticalScrollPosition(GridListMessages, 100) end, 100, 1) end if supportSender then guiGridListSetItemColor(GridListMessages, row, 3, 50, 255, 50) else guiGridListSetItemColor(GridListMessages, row, 3, 255, 255, 255) end end end)