Jump to content

SwiftShader

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by SwiftShader

  1. Add a simple command handler to allow players to create their own weapon switching bindings to make Q/E and scrolling through the weapon list a thing of the past.


    When I tried out playing as a police officer, I noticed that it's pretty painful to switch to a specific weapon unlike in other games where you can create your own keyboard bindings.


    The little code snippet below makes it possible.


    Lua implementation code


    addCommandHandler("weaponslot",
    function (_, slot)
    slot = tonumber(slot)

    if slot ~= nil and slot >= 0 and slot <= 12 then
    setPedWeaponSlot(localPlayer, slot)
    end
    end
    )

    Player binding examples
    These bindings would bind meele to 1, pistol to 2 and rifle to 3.


    bind 1 weaponslot 1
    bind 2 weaponslot 2
    bind 3 weaponslot 5

    You can look up the weapon slots here: setPedWeaponSlot


  2. Hello SAES community,


    since I started playing on the server very recently, and I already accumulated close to 30 ingame hours, there are three things I would propose to be changed with regards to gameplay as a medic class:



    • Spawnable medic bags, which heal players in a rather small radius around them - either with or without a medic player in close proximity ot the medic bag. This change would add another variation to the rather relaxed and slightly boring gameplay as a medic.

    • Pair driving in an ambulance vehicle should distribute the income from healing damaged players to each medic class player in the vehicle. This should make the gameplay closer to real-life situations and resolves the issue when two or more medics arrive at the scene (of a robbery).

    • Disable wanted level penalty when players jump down onto your ambulance - I had plenty of moments, where a player jumps towards my ambulance and I receive two wanted levels as a penalty from him doing so. It would be great if that penalty could be disabled for medic class.


    Greetings,
    SwiftShader.


×
×
  • Create New...