AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Parachute Plugin (https://forums.alliedmods.net/showthread.php?t=282856)

uzairhussain 05-19-2016 12:12

Parachute Plugin
 
hi guys
i want a parachute plugin only for ct
because i m running a Furien Server
and Parachute Free For all
Please Make that for me
i have find alot but cant find anywhere
Thnx

redivcram 05-19-2016 13:58

Re: Parachute Plugin
 
Just find the function that activates the parachute and add on top

PHP Code:

if(get_user_team(id) != 2)
    return 
PLUGIN_HANDLED

2 is for ct
1 is for t

I think

EFFx 05-19-2016 15:32

Re: Parachute Plugin
 
I think ?? Dont post what you dont know

i think your code have if(is_user_alive(id))
Just add if(is_user_alive(id) & get_user_team(id) == 2)

Done.

Black Rose 05-19-2016 15:51

Re: Parachute Plugin
 
Quote:

Originally Posted by EFFx (Post 2420240)
I think ?? Dont post what you dont know

Quote:

Originally Posted by EFFx (Post 2420240)
i think your code have...

Wait... what?

OciXCrom 05-19-2016 16:32

Re: Parachute Plugin
 
:D Nice one.

You should also think before posting and pay more attention. It's &&, not &.

EFFx 05-19-2016 17:48

Re: Parachute Plugin
 
My THINK is the format of uzairhussain's parachute plugin
recivcram's THINK is the code, so... :)

redivcram 05-19-2016 18:23

Re: Parachute Plugin
 
I'm sorry I tried to help, won't offend anyone again, I promise!! effx pls

uzairhussain 05-20-2016 02:05

Re: Parachute Plugin
 
which one should work?
cant u guys give me full code plis?

redivcram 05-20-2016 06:01

Re: Parachute Plugin
 
Quit being lazy, open the parachute sma, find the code that uses the parachute which is called by pressing the use key or whatever calls it. Add on the beginning of the code what I posted above. You check it yourself, but I'm positive that 2 is ct. Search for the function online if you're not sure.

uzairhussain 05-20-2016 06:17

Re: Parachute Plugin
 
dosen't work bro


All times are GMT -4. The time now is 09:18.

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