fly plugin help
Can you edit this code? It should function like a hook plugin, for example, with a command like bind c +fly
And if it's not too much trouble for you, could you also add amx_givefly and amx_takefly features? The fly ability given to the player should be permanent and should not be removed when they leave the server. thank you Code:
public client_PreThink(id) |
Re: fly plugin help
Buddy, no one will help you if you don't properly leave the entire code, not just a part of it, I believe you are not the author of that code, if you were, you would know how to solve it. Once again, post the entire code.
|
Re: fly plugin help
Quote:
Code:
/* Plugin generated by AMXX-Studio */ |
Re: fly plugin help
Quote:
What do you actually want? Do you want a hook that will be bound with the command 'bind c +fly' instead of 'bind c +hook', and to be given to certain players through a command? |
Re: fly plugin help
Quote:
Additionally, I want to be able to give and take this flying ability permanently to/from a player using the amx_givefly and amx_takefly commands. Even if the player logs out and logs back in, they should still have this ability, as it is stored as a permanent feature for that specific player. sample hook plugin https://forums.alliedmods.net/showthread.php?t=52304 |
Re: fly plugin help
If you want it to work like that plugin, you simply need to look at how that plugin does what you want it to do. This is the Scripting Help forum meaning that you are the one writing the plugin. You have all you need in the Hook plugin to implement the +command feature that you're asking for.
Try using the hook plugin as a basis and create your own plugin for your feature. If you run into a specific issue, post your latest version of the code with a specific question. It should be quite simple actually. If your code above works as you want functionally, simply replace the button check with a boolean check that gets set by the +/- commands. Regarding the "permanent access", that's a whole different thing. You can find other plugins that save things like this (e.g. using nVault). So, after you get the main plugin functions working, start working on this part and post a new thread if you have specific issues. |
Re: fly plugin help
This request already exist instead its phrased as "jetpack" its an item you can use to fly.
|
Re: SOLVED plugin help
I finally managed to do it and it works very well, thank you for your answers.
|
| All times are GMT -4. The time now is 00:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.