Giter Club home page Giter Club logo

ms-framework's Introduction

Discontinued

📚 Documentation

Take a look at Wiki

📞 Installation

Click Here to go to the base installation page

🐞 Issues

If you get a bug, please report it Here

❓ Support

If you have any questions about it, click Here

☕ Buy Me a Coffee

If you want to help in this project you have Here

Thank you for supporting this project!

📑 License

Copyright © 2021 Morais.

MS-Framework is a community project, you legal permission to copy, distribute and/or modify it only if you have forked this repository, If it's not a forked repo, then the release will be taken down by DMCA request.

ms-framework's People

Contributors

adamsimondev avatar joransrb avatar morais5 avatar skizmx avatar tnnuy-sv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ms-framework's Issues

qb-weapons loop.

--- look for
Citizen.CreateThread(function()
while true do
if IsControlJustReleased(0, 24) or IsDisabledControlJustReleased(0, 24) then
local weapon = GetSelectedPedWeapon(GetPlayerPed(-1))
local ammo = GetAmmoInPedWeapon(GetPlayerPed(-1), weapon)
if ammo > 0 then
TriggerServerEvent("weapons:server:UpdateWeaponAmmo", CurrentWeaponData, tonumber(ammo))
else
TriggerEvent('inventory:client:CheckWeapon')
TriggerServerEvent("weapons:server:UpdateWeaponAmmo", CurrentWeaponData, 0)
end

        if MultiplierAmount > 0 then
            TriggerServerEvent("weapons:server:UpdateWeaponQuality", CurrentWeaponData, MultiplierAmount)
            MultiplierAmount = 0
        end
    end
    Citizen.Wait(1)
end

end)

-- change with
Citizen.CreateThread(function()
while true do

    if IsControlJustReleased(0, 24) or IsDisabledControlJustReleased(0, 24) then
        local weapon = GetSelectedPedWeapon(GetPlayerPed(-1))
        local ammo = GetAmmoInPedWeapon(GetPlayerPed(-1), weapon)
        if weapon ~= GetHashKey("WEAPON_UNARMED") then
            if ammo > 0 then

                TriggerServerEvent("weapons:server:UpdateWeaponAmmo", CurrentWeaponData, tonumber(ammo))
                Citizen.Wait(500)
            else
                TriggerEvent('inventory:client:CheckWeapon')
                TriggerServerEvent("weapons:server:UpdateWeaponAmmo", CurrentWeaponData, 0)
            end

            
            if MultiplierAmount > 0 then
                TriggerServerEvent("weapons:server:UpdateWeaponQuality", CurrentWeaponData, MultiplierAmount)
                MultiplierAmount = 0
            end
        end

    end
    Citizen.Wait(0)
end

end)

voice

o voice não esta a funcionar ouve-se todos de uma ponta a outra será que a um qb-voice ja tentei varios tipos de mumble voip que davam no esx e procurei tambem os do qb e encontrei mas não deram

qb-simcard / qp-phone

So this might be a me issue since there's a lot of recode going on but you might aswell check it,

Aparently if you use the simcard it will mess up the database

image

it messes up metadata ig?

RegisterServerEvent('ZyoCore-simcard:changeNumber')
AddEventHandler('ZyoCore-simcard:changeNumber', function(MData)
    local xPlayer = ZyoCore.Functions.GetPlayer(source)
    ZyoCore.Functions.ExecuteSql(false, "SELECT * FROM `players` WHERE `citizenid` = '"..xPlayer.PlayerData.citizenid.."'", function(result)
        local MetaData = json.decode(result[1].metadata)
        local Charinfo = json.decode(result[1].charinfo)
        MetaData.phone = MData
        Charinfo.phone = MData
        ZyoCore.Functions.ExecuteSql(false, "UPDATE `players` SET `metadata` = '"..json.encode(MetaData).."' WHERE `citizenid` = '"..xPlayer.PlayerData.citizenid.."'")
        ZyoCore.Functions.ExecuteSql(false, "UPDATE `players` SET `charinfo` = '"..json.encode(Charinfo).."' WHERE `citizenid` = '"..xPlayer.PlayerData.citizenid.."'")
    end)
        xPlayer.Functions.SetMetaData("phone", MData)
end)

Most likely the issue is here, although i won'te bother to modify it.

The only fix at the moment is to create a new character.

Error starts popping after you use it & restart the server.

I cant put it in for some reason

Describe the bug

  • Version : [v1, v1.1.1]
  • Operating System : [Windows, Linux]
    A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Rádio

A rádio não está a funcionar.

Hidden Malicious Code

This is not a bug, but there was no place else to put this information:

image

We at ESX Framework have been searching through code because people have been posting malicious content via that code, that links to pastebins. Most of these pastebins have been taken down for being malicious.

qb-smallresources

image
Sniper crosshair won't work with HideHudComponentThisFrame(14) because you're literally removing the hud component

The fix is pretty simple just comment out everything related with

HideHudComponentThisFrame(14)

and put this in qb-smallresources/client/hudcomponents.lua

Citizen.CreateThread(function()
    while true do
        if not IsAimCamActive() or not IsFirstPersonAimCamActive() then
            HideHudComponentThisFrame(14)
        end
        Citizen.Wait(0)
    end
end)

Should Look like this.
image

Result:
image
image

MS-CORE

When Using THe Framework i keep getting stuck on ban checking through ms-core and idk how to fix

  • Version : [v1, v1.1.1]
  • Operating System : [Windows, Linux]
    A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

City Hall jobs missing

How to add more jobs i add them in file but nothing showing still 3 hobs but there is more then 13

PROBLEM!!

Whenever someone eats, lock/unlock veh/ shows ID/drivers license and uses /me everyone on the server can hear and see it and i have no idea why this is happening and have spent so many hours trying to figure it out :(

qb-gangs

image

Fix

fx_version "adamant"
game "gta5"

At this to the start of the fxmanifest.lua

ms-weapons

Weapons Stays Usable after being broken.

English branch?

I would love to push some stuff the only issue is it's all in English, I really like this base so far but I've fixed a few things.

Can we get an English branch going?

Cant start the server

Hi.
Can y help me start the server? I have edited the start file but it will not start.

could not load rpc_natives

Describe the bug

  • Version : [v1, v1.1.1]
  • Operating System : [Windows, Linux]
    A clear and concise description of what the bug is.

could I please have some help on fixing this issue.

Screenshots
If applicable, add screenshots to help explain your problem.

Capture

Unable to change the language

Unable to change the language even after setting the locale to en-US

Describe the bug

  • Version : [v1, v1.1.1]
  • Operating System : [Windows, Linux]
    A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

qb-simcard

Item doesn't get out of the inventory after being used.

RegisterNetEvent('ZyoCore-simcard:startNumChange')
AddEventHandler('ZyoCore-simcard:startNumChange', function(newNum)

    ZyoCore.Functions.Progressbar("number_change", "Changin num...", 5000, false, true, {
        disableMovement = false,
        disableCarMovement = false,
        disableMouse = false,
        disableCombat = true,
    }, {
        animDict = "anim@amb@business@bgen@bgen_no_work@",
        anim = "sit_phone_idle_01_nowork" ,
        flags = 16,
    }, {}, {}, function() -- Done
        StopAnimTask(GetPlayerPed(-1), "anim@amb@business@bgen@bgen_no_work@", "sit_phone_idle_01_nowork", 1.0)
        ZyoCore.Functions.Notify("Phone number updated to " .. newNum)
        TriggerServerEvent('ZyoCore-simcard:changeNumber', newNum)        
    end, function() -- Cancel
        StopAnimTask(GetPlayerPed(-1), "anim@amb@business@bgen@bgen_no_work@", "sit_phone_idle_01_nowork", 1.0)
        ZyoCore.Functions.Notify("Failed!", "error")
    end)
        TriggerServerEvent("ZyoCore:Server:RemoveItem", "sim_card", 1)
        TriggerEvent('inventory:client:ItemBox', ZyoCore.Shared.Items["sim_card"], "remove")
end)

Should be all set.

bug

Describe the bug

  • Version : [v1, v1.1.1]
  • Operating System : [Windows, Linux]
    A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Cinto nao aprece no hud.
Multas o jogador nao recebe.
Mdt so fica branco e nao passa dai.

character screen

on the char screen, only one char slot and no option to delete selected char

duty

how does one go in and out of duty there is no job center to even sign up or apply for job? or is there?

ms-crafting

não dá para meter pistol (armas) para craftar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.