Raised This Month: $334 Target: $400
 83%   Almost there!

Flying Scoutsman Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SoulWeaver16
Senior Member
Join Date: May 2021
Location: Uruguay
Old 06-20-2022 , 18:06   Flying Scoutsman Mod
Reply With Quote #1

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 is offline
SoulWeaver16
Senior Member
Join Date: May 2021
Location: Uruguay
Old 06-24-2022 , 23:27   Re: Flying Scoutsman Mod
Reply With Quote #2

I have this code provided by TribalBlood
Code:
#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).
Attached Files
File Type: sma Get Plugin or Get Source (Flying_Scoutsman.sma - 9 views - 584 Bytes)
SoulWeaver16 is offline
TribalBlood
Member
Join Date: Oct 2020
Location: Defqon.1
Old 06-25-2022 , 04:52   Re: Flying Scoutsman Mod
Reply With Quote #3

I use the lastest version of amxmodx.
__________________
TribalBlood is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:48.


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