AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Edit users.ini with command (https://forums.alliedmods.net/showthread.php?t=309918)

blAck. 08-12-2018 10:35

Edit users.ini with command
 
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.

Natsheh 08-12-2018 12:34

Re: Edit users.ini with command
 
Admin manager.

blAck. 08-12-2018 12:42

Re: Edit users.ini with command
 
Quote:

Originally Posted by Natsheh (Post 2609790)
Admin manager.

No, I need this.

HamletEagle 08-12-2018 15:51

Re: Edit users.ini with command
 
Yes, you can make it. No one is holding you back.

blAck. 08-12-2018 15:54

Re: Edit users.ini with command
 
Quote:

Originally Posted by HamletEagle (Post 2609829)
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

fysiks 08-12-2018 16:16

Re: Edit users.ini with command
 
Quote:

Originally Posted by blAck. (Post 2609830)
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?

HamletEagle 08-12-2018 16:18

Re: Edit users.ini with command
 
Quote:

Originally Posted by blAck. (Post 2609830)
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.


All times are GMT -4. The time now is 01:57.

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