AlliedModders (
-   Suggestions / Requests (
-   -   Flying Scoutsman Mod (

SoulWeaver16 06-20-2022 19:06

Flying Scoutsman Mod
Is there a plugin to improve the accuracy of the Scout a bit, like the mode in CSGO does in the mode of the same name.
I think there is a plugin to spawn with Scout and Knife only, and gravity 400-500 would be fine.
Flying Scoutsman wiki

SoulWeaver16 06-25-2022 00:27

Re: Flying Scoutsman Mod
1 Attachment(s)
I have this code provided by TribalBlood

#include <amxmodx>
#include <fakemeta>
#include <xs>

#define PLUGIN "Flying Scoutsman"
#define VERSION "1.0"
#define AUTHOR "TribalBlood"

public plugin_init()
                register_plugin(PLUGIN, VERSION, AUTHOR)
                register_forward(FM_TraceLine, "TraceLine_accuracy", 1);

public TraceLine_accuracy(const Float: start[3], Float: dest[3], HIT_PARAM, id, ptr)
        if(get_user_weapon(id) == CSW_SCOUT && get_user_flags(id) & FL_FLY)
                velocity_by_aim(id, 9999, dest);
                xs_vec_add(start, dest, dest);
                engfunc(EngFunc_TraceLine, start, dest, HIT_PARAM, id, ptr);

What it's trying to emulate is the increased accuracy the Scout has in the CSGO game mode while in the air.
But it gives me a lot of lag, what is the error?
HTML Code:

L 06/25/2022 - 00:18:12: [AMXX] Run time error 10 (plugin "Flying_Scoutsman.amxx") (native "get_user_weapon") - debug not enabled!
L 06/25/2022 - 00:18:12: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

TribalBlood 06-25-2022 05:52

Re: Flying Scoutsman Mod
I use the lastest version of amxmodx.

All times are GMT -4. The time now is 19:02.

Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.