Raised This Month: $ Target: $400
 0% 

Make developer fly? [zp 4.3]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-17-2013 , 02:21   Re: Make developer fly? [zp 4.3]
Reply With Quote #9

Cleaned up :

1 thing you have to fix though is that you remove JP on kill but don't never give it back

PHP Code:
public OnPlayerJump(id)
{
    if( 
bHasJetPack[id] && pev(idpev_button) & IN_DUCK && ~pev(idpev_flags) & FL_ONGROUND )
    {
        static 
Float:vVelocity[3], Float:upSpeed
        pev
(idpev_velocityvVelocity)
        
upSpeed vVelocity[2] + 35.0
        velocity_by_aim
(id300vVelocity)
        
vVelocity[2] = upSpeed 300.0 300.0 upSpeed
        set_pev
(idpev_velocityvVelocity)
    }

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-17-2013 at 02:23.
ConnorMcLeod 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 19:53.


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