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

Edit users.ini with command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blAck.
Member
Join Date: Jun 2018
Old 08-12-2018 , 10:35   Edit users.ini with command
Reply With Quote #1

Can I make a command with which I can add/remove user flags?
Example: edit_flags <target> +/-
("+" for adding, "-" for removing )

But if player already has some flags, I don't want to create new line with the same player in users.ini when I add a flag, I want that just to be edited.
blAck. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-12-2018 , 12:34   Re: Edit users.ini with command
Reply With Quote #2

Admin manager.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
blAck.
Member
Join Date: Jun 2018
Old 08-12-2018 , 12:42   Re: Edit users.ini with command
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Admin manager.
No, I need this.

Last edited by blAck.; 08-12-2018 at 12:43.
blAck. is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-12-2018 , 15:51   Re: Edit users.ini with command
Reply With Quote #4

Yes, you can make it. No one is holding you back.
__________________
HamletEagle is offline
blAck.
Member
Join Date: Jun 2018
Old 08-12-2018 , 15:54   Re: Edit users.ini with command
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
Yes, you can make it. No one is holding you back.
Dude, you gotta learn to read between the lines
Don't get mad, that's just my opinion
blAck. is offline
Old 08-12-2018, 16:09
Relaxing
This message has been deleted by Relaxing. Reason: hell no mr verb
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-12-2018 , 16:16   Re: Edit users.ini with command
Reply With Quote #6

Quote:
Originally Posted by blAck. View Post
Dude, you gotta learn to read between the lines
Don't get mad, that's just my opinion
Ask an actual question about scripting. What code have you tried? What part of that code are you having issues with?
__________________
fysiks is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-12-2018 , 16:18   Re: Edit users.ini with command
Reply With Quote #7

Quote:
Originally Posted by blAck. View Post
Dude, you gotta learn to read between the lines
Don't get mad, that's just my opinion
That's not my job. As fysiks said, ask a scripting question in scripting help and you will get a proper answer.
__________________

Last edited by HamletEagle; 08-12-2018 at 16:18.
HamletEagle 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 00:13.


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