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

[REQ] Parachute


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
frOOgy
Senior Member
Join Date: Jul 2014
Old 01-14-2015 , 08:29   [REQ] Parachute
Reply With Quote #1

I'm looking for plugin ho give free parachutes every round to CT players. Parachute DON'T HAVE MODEL.
__________________
Help me in other requests

Change Map System [PLUGIN]

GaG System [PLUGIN] [PLUGIN]
frOOgy is offline
Send a message via Skype™ to frOOgy
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-14-2015 , 08:39   Re: [REQ] Parachute
Reply With Quote #2

So, you just want simple parachute without model?
zmd94 is offline
frOOgy
Senior Member
Join Date: Jul 2014
Old 01-14-2015 , 08:59   Re: [REQ] Parachute
Reply With Quote #3

yes...
__________________
Help me in other requests

Change Map System [PLUGIN]

GaG System [PLUGIN] [PLUGIN]
frOOgy is offline
Send a message via Skype™ to frOOgy
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-14-2015 , 09:08   Re: [REQ] Parachute
Reply With Quote #4

Just use below:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <cstrike>

//fall speed must be in negative (float), lower mean more slower
#define FALL_SPEED -60.0

public plugin_init()
{
    
register_plugin("Invisible Parachute""0.0.1""wbyokomo")
    
    
register_forward(FM_CmdStart"OnCmdStart")
}

public 
OnCmdStart(iduc_handle)
{
    if(
cs_get_user_team(id) == CS_TEAM_CT
    {
        static 
buttonbutton get_uc(uc_handleUC_Buttons);
        if(
button IN_USE)
        {
            static 
Float:fVelocity[3]; pev(idpev_velocityfVelocity);
            if(
fVelocity[2] < 0.0)
            {
                
fVelocity[2] = FALL_SPEED
                set_pev
(idpev_velocityfVelocity)
            }
        }
    }

Just press [E] to use the parachute.
zmd94 is offline
frOOgy
Senior Member
Join Date: Jul 2014
Old 01-14-2015 , 09:15   Re: [REQ] Parachute
Reply With Quote #5

tested, I'm litle jumping in air when I fall down :/

Last edited by frOOgy; 01-14-2015 at 09:21.
frOOgy is offline
Send a message via Skype™ to frOOgy
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-14-2015 , 09:22   Re: [REQ] Parachute
Reply With Quote #6

By the way, it is working as parachute right?
zmd94 is offline
frOOgy
Senior Member
Join Date: Jul 2014
Old 01-14-2015 , 09:22   Re: [REQ] Parachute
Reply With Quote #7

yes... but can you fix this litle bug ?
frOOgy is offline
Send a message via Skype™ to frOOgy
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-14-2015 , 09:24   Re: [REQ] Parachute
Reply With Quote #8

Sorry, do you get any errors as I don't experience that problem in my server?
zmd94 is offline
frOOgy
Senior Member
Join Date: Jul 2014
Old 01-14-2015 , 09:27   Re: [REQ] Parachute
Reply With Quote #9

No... but I saw in one server parachute plugin only for CTs and when player use parachute, player spread his hands and he don't jumping in air when he falls down. without errors too...

Last edited by frOOgy; 01-14-2015 at 09:28.
frOOgy is offline
Send a message via Skype™ to frOOgy
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-14-2015 , 09:40   Re: [REQ] Parachute
Reply With Quote #10

Sorry, I'm not sure how to do it.

Just wait for other scripter to help you. ;)

Last edited by zmd94; 01-14-2015 at 09:40.
zmd94 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 15:35.


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