Reading ranks ( cat, dog etc ) from .txt or nvault
Hello guys,
Im new into scripting, I would like to save information about ranks in .txt or smth, so I can change it anytime I want. Fysiks ( thanks ) said, that I have to use vault, nvault or fopen() functions etc, but I dont know how should I start with it. That how looks code: Code:
if ( stats[0] >= 0 && stats[0] <= 29)Thank you for all guys Cheers |
Re: Reading ranks ( cat, dog etc ) from .txt or nvault
What kind of "rank" are you talking about? I originally thought you meant some sort of stat. If you are just wanting to put a list of labels for players then you wouldn't want to use a vault. There are many plugins that read from files. One example would be by apology plugin in my signature.
|
Re: Reading ranks ( cat, dog etc ) from .txt or nvault
I mean rank, that for frags it shows in hud "rankname"? For example, if you have got 30 kills, it shows CAT, if you got 45, you have got DOG etc, I've got this plugin, but you can change "rankname" only in sma, but I would like to do it in .txt or whatever, but in other file than .sma, Ill check your plugin.
|
Re: Reading ranks ( cat, dog etc ) from .txt or nvault
something like this: https://forums.alliedmods.net/showthread.php?t=29291 ?
|
Re: Reading ranks ( cat, dog etc ) from .txt or nvault
Yes Dude! Same thing, but ranks i'd like to be in .txt ( able to change anytime that I want )
|
Re: Reading ranks ( cat, dog etc ) from .txt or nvault
Quote:
|
| All times are GMT -4. The time now is 20:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.