Parachute with Freezegrenade!
Hello i am using a parachute Plugin and the Freezegrenadeplugin (http://forums.alliedmods.net/showthread.php?t=41126)
I have the problem, when i freeze someone and the player press e for the parachute, he will become the lowest gravity of freeze grenade all time. So my question is, how to prevent them pressing E (for parachute), while they are freezed? The gravity by the freeze grenade is changed in line 387. So how i make the e button there unuseable? |
Re: Parachute with Freezegrenade!
ask in the thred of Avalanche (frostnades) and be patient, he may read it :).
|
Re: Parachute with Freezegrenade!
Register a native in the frostnade plugin and return the value of isFrozen (the variable that indicates that a player is indeed frozen).
Code:
Then in the parachute plugin declare the native: Code:
After the native is declared, add the check to the button check (where the player is supposed to be given a parachute by pressing E). Code:
|
Re: Parachute with Freezegrenade!
Quote:
Have already done..... (http://forums.alliedmods.net/showpos...&postcount=485) @Xellath: Compiling has worked :D I will test it later :) |
Re: Parachute with Freezegrenade!
unnötig dafür soll dich Freezegrenade ja gedacht sein.
|
Re: Parachute with Freezegrenade!
Quote:
Personalstatement: Wenn du den Fehler schon nicht replizieren kannst, weil du keine ahnung vom scripten hast, und meine Plugins nicht hast, solltest du echt nicht dazwischen reden, besonders in threads wo man zeigt, dass du meine post einfach nachschaust um zu schauen, was man für deinen furienmod benutzen kann, leider klappt es dir nicht und ich passe auf, dass es auch so bleibt :) Back to problem: I have tested it in different ways about 3 hours... Well i have another idea to fix it. Cts have another gravity like the terrorists and i have solved the problem that the gravity changes when using the parachute ( i have save the gravity when you pressing E and the gravity changes back). So what we can do now is that we can set the cvars by the other plugin (which changes the gravity of the teams) How to do that to get the cvars of another plugin and in which line the freezeplugin changed the gravity back, so we can set there our old cvars by the other plugin :) |
| All times are GMT -4. The time now is 14:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.