Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 27/12/16 in all areas

  1. سلام عليكم و رحمة الله و بركاته اليوم رجعت بـ3 مودات جديده بعد م قفلت السيرفر يمكن انشر بعض المودات السويتها .. اوككي طبعا كل شئ موضح في الفيديو و الروابط في الدسكربشن .. اتمنى يكون عجبكم .. #Ahmed_Eka
    2 points
  2. 1 point
  3. addEventHandler( 'onPlayerJoin', getRootElement ( ) , function ( _ , playeraccount ) if ( playeraccount ) then if ( getAccountData( playeraccount, 'LoginNum' ) == true ) then return end outputChatBox( '* Data Has Been Updated', source, 255, 255, 0, true ) triggerClientEvent( source, 'show', source ) setAccountData( playeraccount, 'LoginNum', true ) end end ) كان ناقص ايند لاني عدلت على كودك , اعتذر , بس راجع كودك
    1 point
  4. You can use those data points client-side. Here is an example /myvehicles which outputs your vehicle data on client-side. addCommandHandler( 'myvehicles', function( ) local vehicles = getElementData( localPlayer, "VS.Vehicles" ) if ( type( vehicles ) == 'table' ) and ( #vehicles > 0 ) then outputChatBox( "Your vehicles:" ) for index, data in ipairs( vehicles ) do outputChatBox( " Vehicle #" .. index .. " is a " .. getVehicleNameFromModel( data.id ) .. " and has a price of $" .. data.price .. "." ) end else outputChatBox( "You have no vehicles.", 255, 0, 0 ) end end ) Tables in Lua: http://lua-users.org/wiki/TablesTutorial For in Lua: http://lua-users.org/wiki/ForTutorial There is also a tutorial on tables here on MTA forums, I see:
    1 point
  5. You haven't initialized the index in the table, that's why it cannot set the values. You also had a pretty dangerous for loop over that which can potentially crash your server. No idea why you wanted to iterate through the vehicles. For both of the versions, I fixed the last outputChatBox that had no target player defined in the arguments, it's now set to player like the other ones. Here's your script with minimal changes: createdVehicle = {} function buyVehicle(player,id,price) local money = getPlayerMoney(player) if ( money >= price ) and ( not ( isGuestAccount(getPlayerAccount(player)) ) ) and ( not ( getElementData(player,"VS.Count") == 5 ) ) then local x, y, z = getElementPosition(player) if ( isElement(createdVehicle[player]) ) then destroyElement(createdVehicle[player]) end createdVehicle[player] = createVehicle(id,x,y-3,z) if ( createdVehicle[player] ) then if ( getElementData(player,"VS.Vehicles") == false ) then local aTable = {} local jsone = toJSON(aTable) setElementData(player,"VS.Vehicles",jsone) local i = getElementData(player,"VS.Count") if ( i == false ) then setElementData(player,"VS.Count",0) else setElementData(player,"VS.Count",tonumber(i)+1) end end local theTable = {fromJSON(getElementData(player,"VS.Vehicles"))} if ( type(theTable) == "table" ) and ( not ( theTable == false ) ) or ( not ( theTable == nil ) ) then local i = getElementData(player,"VS.Count")+1 theTable[i]={} theTable[i][1] = id --[[ HERE is the problem ]]-- theTable[i][2] = 1000 --[[ and here ]]-- theTable[i][3] = price/2 --[[ and here ]]-- setElementData(player,"VS.Vehicles",toJSON(theTable)) setElementData(player,"VS.Count",i) setElementData(createdVehicle[player],"Owner",player) setElementData(createdVehicle[player],"VS.Count",i) takePlayerMoney(player,price) outputChatBox("[Vehicle System] You have bought ".. getVehicleNameFromModel(id) .." for ".. price .."$ !",player,0,255,0) else outputChatBox("[Vehicle System] Error purchasing a car!",player,255,0,0) end end elseif ( isGuestAccount(getPlayerAccount(player)) ) then outputChatBox("[Vehicle System] Please login in order to buy a vehicle!",player,255,0,0) elseif ( money < price ) then outputChatBox("[Vehicle System] You don't have enough money to buy this car!",player,255,0,0) elseif ( getElementData(player,"VS.Count") == 5 ) then outputChatBox("[Vehicle System] You have reached the maximum amount of vehicles to purchase!",player,255,0,0) end end A little bit more cleaned up, if you want it: createdVehicle = { } function buyVehicle( player, id, price ) local money = getPlayerMoney( player ) if ( money >= price ) and ( not isGuestAccount( getPlayerAccount( player ) ) ) and ( not ( getElementData( player, "VS.Count" ) == 5 ) ) then if ( isElement( createdVehicle[ player ] ) ) then destroyElement( createdVehicle[ player ] ) end local x, y, z = getElementPosition( player ) local _, _, rz = getElementRotation( player ) createdVehicle[ player ] = createVehicle( id, Matrix( Vector3( x, y, z ), Vector3( 0, 0, rz ) ):transformPosition( Vector3( 3, 0, 1 ) ), 0, 0, rz ) if ( isElement( createdVehicle[ player ] ) ) then local vehicles = getElementData( player, "VS.Vehicles" ) if ( type( vehicles ) ~= 'table' ) then vehicles = { } setElementData( player, "VS.Vehicles", vehicles ) setElementData( player, "VS.Count", 0 ) end local index = getElementData( player, "VS.Count" ) + 1 vehicles[ index ] = { } vehicles[ index ].id = id vehicles[ index ].something = 1000 vehicles[ index ].price = price / 2 setElementData( player, "VS.Vehicles", vehicles ) setElementData( player, "VS.Count", index ) setElementData( createdVehicle[ player ], "Owner", player ) setElementData( createdVehicle[ player ], "VS.Count", index ) takePlayerMoney( player, price ) outputChatBox( "[Vehicle System] You have bought " .. getVehicleNameFromModel( id ) .. " for $" .. price .. "!", player, 0, 255, 0 ) end elseif ( isGuestAccount( getPlayerAccount( player ) ) ) then outputChatBox( "[Vehicle System] Please login in order to buy a vehicle!", player, 255, 0, 0 ) elseif ( money < price ) then outputChatBox( "[Vehicle System] You don't have enough money to buy this car!", player, 255, 0, 0 ) elseif ( getElementData( player, "VS.Count" ) == 5 ) then outputChatBox( "[Vehicle System] You have reached the maximum amount of vehicles to purchase!", player, 255, 0, 0 ) end end
    1 point
  6. 1 point
  7. قلت لك استخدم SqlLite or AccountData
    1 point
  8. عليكم السلام الداتا من تطلع من السيرفر راح تروح فـ عندك اما السكل او الاكونت داتا
    1 point
  9. 1 point
  10. Sí, de todas formas ese script nunca funcionaría por que está mal hecho, principalmente todo esto function verificarVIP ( ) local cuenta = getAccountName( getPlayerAccount(client) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("VIPs")) then triggerClientEvent ( client, "activarUsuarioVip", client ) else end end addEventHandler("onResourceStart", getRootElement(), verificarVIP)
    1 point
  11. Server addEvent("setData",true) addEventHandler("setData",root, function(color) if not isGuestAccount ( getPlayerAccount(source) ) then setAccountData( getPlayerAccount(source),"colortag",color) else outputChatBox("you must login frist",source) end end ) function chatbox(text, msgtype) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) local MsgColor = getAccountData ( getPlayerAccount(source), "colortag" ) or "#FFFFFF" cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("NO")) then outputChatBox("NO" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#ff0000亗#FFFFFF⌠#696969ϟ #00ffffconsole #696969ϟ#FFFFFF⌡#ff0000亗 :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console1")) then outputChatBox("#ff0000亗#FFFFFF⌠#696969ϟ #00ffffconsole1 #696969ϟ#FFFFFF⌡#ff0000亗 :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Criminal")) then outputChatBox("#F0E68C亗#ffffff╚#696969✘ #00ffffCrim#d2b48ciƝaL#ffffff™ #696969✘#ffffff╝#F0E68C亗 :#cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AssistantConsole")) then outputChatBox("#FFFFFF✱ ⌠» #96D8D4AssistantConsole #FFFFFF«⌡ ✱ :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("DevRoyale")) then outputChatBox(" #FFFF00✱⌠» #7FFFD4Dev-Royale #FFFF00«⌡✱ : ".. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Dieputy.Console")) then outputChatBox("#00ffff✱#cccccc ⌠» #00ffffDieputy #ffffffConsole #cccccc«⌡ #00ffff✱#cccccc :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Group-FaMiLy")) then outputChatBox("#FFB6C1✱#ADD8E6⌠ #FFB6C1فـــآمـــلـــي #ADD8E6حــــزب ⌡#FFB6C1✱ :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Managers")) then outputChatBox("#FF2D4C✱#cccccc⌠ #FF2D4CManager#C7D1D9s#cccccc ⌡#FF2D4C✱ :#cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Manager")) then outputChatBox("#ADD8E6✱#cccccc⌠ #FFB6C1Manager#cccccc ⌡#ADD8E6✱ :#cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Manager-Acl")) then outputChatBox("#c0ffc0✱⌠ #99ff00Manager#c0c0c0Acl#c0ffc0 ⌡✱ :" .. name .. ":"..MsgColor.."" ..text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SPECIALPRINCE")) then outputChatBox("#FEA883✱#cccccc【 #FEA883SPECIAL PRINCE #cccccc】#FEA883✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMINSENIOR")) then outputChatBox("#ff0033✱【 #990033Senior Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("PRINCEADMIN")) then outputChatBox("#ff0033✱【 #ffcc00PRINCE ADMIN #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMINM7TRF")) then outputChatBox("#ff0033✱【 #333399ADMIN M7TRF #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMINWZARH")) then outputChatBox("#ff0033✱【 #669999ADMIN WZARH #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMINPOWER")) then outputChatBox("#ff0033✱【 #33ffffADMIN POWER #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KINGADMIN")) then outputChatBox("#ff0033✱【 #990000KING ADMIN #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminGeneral")) then outputChatBox("#ff0033✱【 #66ff66Admin General #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("POLICE-A7sas")) then outputChatBox("#ff0000♥#ffffff【#ff0000彡 #66ffffРŐĹĨČĔ-Á7ŚÁŚ #ff0000彡#ffffff】#ff0000♥:" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("POLICE-MR.MAN")) then outputChatBox("#FFFFFF✱【#696969 Police-MR.MAN #FFFFFF】✱: #696969:" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("PrestegeGuard")) then outputChatBox("#D2691E✱【 #FFDEADPrestegeGuard#D2691E 】✱#FFFFFF: #FFDEAD#-:" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminOfficial")) then outputChatBox("#ff0033✱【 #996600Admin Official #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("EmperorOfServer")) then outputChatBox("#ff0033✱【 #996633Emperor Of Server #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminPrime")) then outputChatBox("#ff0033✱【 #cc6600Admin Prime #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminMonitor")) then outputChatBox("#ff0033✱【 #ccff33Admin Monitor #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Bigadmin")) then outputChatBox("#ff0033✱【 #000066Big admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KingOfServer")) then outputChatBox("#ff0033✱【 #ffff00King Of Server #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminBoss")) then outputChatBox("#ff0033✱【 #3366ffAdmin Boss #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("BestAdmin")) then outputChatBox("#ff0033✱【 #0000ffBest Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminPlus")) then outputChatBox("#ff0033✱【 #669999Admin Plus #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("AdminTop")) then outputChatBox("#ff0033✱【 #33ffffAdmin Top #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Vip-Admin")) then outputChatBox("#ff0033✱【 #990000V.I.P Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Professional")) then outputChatBox("#ff0033✱【 #333399Professional Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Leader")) then outputChatBox("#ff0033✱【 #ffcc00Leader Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Prince")) then outputChatBox("#ff0033✱【 #336666Prince of Server #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("DE")) then outputChatBox("#ff0033✱【 #990033Speical Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head.Admin")) then outputChatBox("#ff0033✱【 #00ff00Head Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMIN")) then outputChatBox("#ff0033✱【 #660000Admin #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator2")) then outputChatBox("#ff0033✱【 #ffcc00SuperModerator2 #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator")) then outputChatBox("#ff0033✱【 #999900SuperModerator #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator2")) then outputChatBox("#ff0033✱【 #669999Moderator2 #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator")) then outputChatBox("#ff0033✱【 #ff33ffModerator #】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("VoteModerator")) then outputChatBox("#ff0033✱【 #660000VoteModerator #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("police")) then outputChatBox("#ff0033✱【 #663333Police #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("VotePolice")) then outputChatBox("#ff0033✱【 #339933VotePolice #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("V.I.P")) then outputChatBox("#ff0033✱【 #666600V.I.P #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Time")) then outputChatBox("#ff0033✱【 #339933King Of Time #ff0033】✱ #cccccc" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-F")) then outputChatBox("#ffffff✱ x[ #000000 ادمن مـخالف #ffffff ]x :" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#ff0033✱【 #ffffffEveryone #ff0033】✱ #ffffff:" .. name .. ":"..MsgColor.."" .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", root, chatbox)
    1 point
  12. local screenW, screenH = guiGetScreenSize() WndColor = guiCreateWindow((screenW - 188) / 2, (screenH - 171) / 2, 188, 171, "لوحة تغيير لون الشات الخاص بك", false) guiWindowSetSizable(WndColor, false) guiSetVisible(WndColor,false) ColorEdit = guiCreateEdit(0.05, 0.22, 0.87, 0.18, "", true, WndColor) guiEditSetMaxLength(ColorEdit, 7) ColorSetBTN = guiCreateButton(0.05, 0.46, 0.86, 0.18, "تغيير اللون #", true, WndColor) Close_BTn = guiCreateButton(0.05, 0.85, 0.32, 0.09, "X", true, WndColor) local KEY="N" function OPEN() guiSetVisible(WndColor,true) showCursor(true) end bindKey(KEY,"down",OPEN) addEventHandler("onClientGUIClick",root,function() if source == Close_BTn then guiSetVisible(WndColor,false) showCursor(false) elseif source == ColorSetBTN then local color = guiGetText(ColorEdit) if color ~="" then triggerServerEvent("setData",localPlayer,color) else outputChatBox("pls write any thing" end end end ) ------------Server addEvent("setData",true) addEventHandler("setData",root,function(color) --- لاتنسى التحقق * if not isGuestAccount ( getPlayerAccount(source) ) then setAccountData( getPlayerAccount(source),"colortag",color) else outputChatBox("you must login frist",source) end end ) addEventHandler("onPlayerChat", root,function ( ) local MsgColor = getAccountData ( getPlayerAccount(source), "colortag" ) if MsgColor then cancelEvent() local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..":"..MsgColor..""..message, root, red, green, blue, true ) else local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source).." :#ffffff" ..message, root, red, green, blue, true ) end end ) جرب
    1 point
  13. لا خلاص يعطيكم العافيه ويعطيك العافيه ماستر لقيت شخص
    1 point
  14. DS4Windows you use contains the drivers to make Playstation controllers work on Windows, now the point is the version you downloaded of DS4Windows might be different (newer) than the version you had installed on your old Windows, and so might deliver an driver that doesn't 1) work as well with Windows 10, or 2) doesn't work good as intended. Chances are great that the driver version installed for the controller now (not DS4Windows itself, but device driver) is different from the one you had earlier and it might even be OS-independent (that it's a standard driver revision and for both Windows 10 / older it installs the same, but you just got the latest DS4Windows package that brings a bad driver) so to find out I advise you to 1) Download and install some older versions of DS4Windows to get older device drivers for the controller and see if they work as good (if you can still access your old PC, try check the version installed there and download/install the exact same version of DS4Windows. Not sure, but if a device listing shows up in Device Manager for controllers like this, note the driver file version from its properties and compare/download the exact same one after a search. You can also try extracting only the driver and manually installing it through Device Manager, as DS4Windows software suite could also have a incompatibility with Windows 10 causing it, or run a Google search on driver file version from Device manager to download the single driver only) What happens when you set Compatibility mode of DS4Windows launcher/all executables contained in its installation directory, to the Windows version you had earlier? (make sure to reboot PC before trying after setting that) And does the controller still function after shutting the software down, relying on only the installed driver? If you manage to find a version of DS4Windows that dates back to only supporting the Windows version you had before, you can also try downloading & installing that (use compatibility mode on both install and launchers/executables of installation) as the current may lack the ability for controller to be rebinded for some reason. (btw, did you chedk for issues in any other application/game that allows re-binding controls?)
    1 point
  15. الله يعفيك + هل السكرت اشتغل معك او لا تبي لون التاج + الكلام نفس بعض ؟ +
    1 point
  16. local localPlayer = getLocalPlayer() function togglePlayerControl(weapon) toggleControl("fire", false) if isPedAiming(localPlayer) then toggleControl("fire", true) end end addEventHandler ( "onClientResourceStart", getResourceRootElement(), togglePlayerControl)
    1 point
  17. 1 point
×
×
  • Create New...