Raised This Month: $12 Target: $400
 3% 

Quick & No scope detector


Post New Thread Reply   
 
Thread Tools Display Modes
mr_cock
Member
Join Date: Sep 2018
Old 10-23-2018 , 17:50   Re: Quick & No scope detector
Reply With Quote #21

Where do I put each file? In which folders?
mr_cock is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-23-2018 , 19:16   Re: Quick & No scope detector
Reply With Quote #22

The .Inc file in addons/amxmodx/scripting/include
Compile the sma file to amxx and put it in addons/amxmodx/plugins

After it, put the plugin name (example quickscopeplugin.amxx) in the plugins.ini.

Any questions? Google it.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Avram
Junior Member
Join Date: Dec 2018
Old 02-12-2019 , 13:48   Re: Quick & No scope detector
Reply With Quote #23

Quote:
Originally Posted by EFFx View Post
The .Inc file in addons/amxmodx/scripting/include
Compile the sma file to amxx and put it in addons/amxmodx/plugins

After it, put the plugin name (example quickscopeplugin.amxx) in the plugins.ini.

Any questions? Google it.
I'm having this error from time to time in my logs :
L 02/12/2019 - 18:44:20: [CSTRIKE] Invalid player 20 (not in-game)
L 02/12/2019 - 18:44:20: [AMXX] Displaying debug trace (plugin "QuickNoScopeD.amxx", version "1.2")
L 02/12/2019 - 18:44:20: [AMXX] Run time error 10: native error (native "cs_get_user_zoom")
L 02/12/2019 - 18:44:20: [AMXX] [0] 161359.attach::fw_EvCurWeapon (line 82)
Could you fix it or help me fix it please?
Avram is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 02-12-2019 , 15:34   Re: Quick & No scope detector
Reply With Quote #24

This error is strange, because checking if the client is alive, he is necessarily connected ... but nevertheless try the change below:

Code:
public fw_EvCurWeapon(id)
{
	if(is_user_alive(id))
	{
		ScopeData[id][ScopeType] = cs_get_user_zoom(id)
	}
}


Code:
public fw_EvCurWeapon(id)
{
	if(!is_user_connected(id)) return;
	
	if(is_user_alive(id))
	{
		ScopeData[id][ScopeType] = cs_get_user_zoom(id)
	}
}
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
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 08:52.


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