Raised This Month: $ Target: $400
 0% 

Longjump command [Need Help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 06-27-2015 , 10:56   Re: Longjump command [Need Help]
Reply With Quote #1

I allrdy fixed the values(kinda) in the addvel function by adding *400 to the boost like this for both "Boost[client]*400.0;" seems to work fine, and 1.0 value now gives the correct boost i was looking for

Now i'm playing with the player_death and round_end hook, but i can't seem to find a solution i tried things like this:

PHP Code:
{
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    if(!
g_bPlayerHasJump[client])
        return 
Plugin_Continue;

    
g_bPlayerHasJump[client] = false;

    return 
Plugin_Continue;

but it just keeps having longjump activated.

Last edited by xines; 06-27-2015 at 10:57. Reason: forgot some text...
xines 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:28.


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