Googling Posted July 27, 2017 Share Posted July 27, 2017 Hi I needed a little help with two scripts... I have a turf war scripts and a PvP Toggle [on/off]. I wish to make a way that the player with his pvp off doesn't trigger the turfs. So players can use for fun and not to abuse it. I think you got my general idea. When the PvPToggle is on (it triggers the turfs and you can help and steal it) When it's not, turfs are useless. I want to make like that so pleaze guys help me Link to comment
Addlibs Posted July 27, 2017 Share Posted July 27, 2017 Depending on how you determine whether someone has toggled their PvP on (I'm guessing element data), you should edit the script so that it checks that toggle status and if PvP is off, disallow/block starting a turf war for that player Link to comment
Googling Posted July 27, 2017 Author Share Posted July 27, 2017 5 minutes ago, MrTasty said: Depending on how you determine whether someone has toggled their PvP on (I'm guessing element data), you should edit the script so that it checks that toggle status and if PvP is off, disallow/block starting a turf war for that player Yes this is the idea but I'm wondering how to do it. Please help me Link to comment
Addlibs Posted July 27, 2017 Share Posted July 27, 2017 You'd know how to do it if you learnt the basics of scripting for MTA. If you haven't done that, there's really no point in asking for help here as we're not going to do everything for you, but rather help you do it yourself. If you really need more help, you should at least let us see the relevant parts of your turfing code so that we can help you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now