Raised This Month: $ Target: $400
 0% 

Speed Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NooTy
Member
Join Date: Sep 2019
Old 01-15-2020 , 09:35   Speed Problem
Reply With Quote #1

HI
I Have Problem IN This Code
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)
}
The Problem When I Attack then it stop the speed stills (900.0) And It Says in Console
"(native "set_user_maxspeed") - debug not enabled!"

Last edited by NooTy; 01-15-2020 at 09:35.
NooTy is offline
 



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 14:23.


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