Raised This Month: $32 Target: $400
 8% 

How To Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NooTy
Member
Join Date: Sep 2019
Old 01-17-2020 , 13:19   How To Fix
Reply With Quote #1

L **/**/**** - **:**:**: [AMXX] Run time error 10 (plugin "*****_*****.amxx") (native "set_user_maxspeed") - debug not enabled
Code:
public fw_CmdStart(id) {
if ((is_user_alive( id ) && get_user_weapon( id ) == CSW_KNIFE) && (pev(id, pev_button) & IN_ATTACK)) {
	    set_user_maxspeed(id, 900.0)
	    client_cmd(id, "+forward")
	    set_task(0.3,"rmvSpeed")
	    
}
    return PLUGIN_HANDLED
}
public rmvSpeed(id) {
    client_cmd(id, "-forward")
    set_user_maxspeed(id,320.0)
}
NooTy is offline
Old 01-17-2020, 14:02
thEsp
This message has been deleted by thEsp. Reason: Uh oh! Just noticed this is a silly copy of another active thread.
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-17-2020 , 17:48   Re: How To Fix
Reply With Quote #2

Add ' debug' after the plugin in plugins.ini
__________________
Bugsy is offline
Reply



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 13:42.


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