Scripting with steam id help
I have tried my best and still haven't got it to work. I'm trying make a script that if your steam id is in the steam.ini then it lets you use a certain command. I just need to find out how I can get it to work this is what I think it my be similar to.
PHP Code:
|
Re: Scripting with steam id help
The overall code doesn't make much sense.
First, preffer using local variables than global ones. Second, you can use a Trie (search the forums for implementations on these) to store the Steam IDs and look them up. There's no need to complicate it like you did. If you want an example on any of these, feel free to ask for it. |
Re: Scripting with steam id help
Why don't you use the users.ini file ? You can put the steamid you want with a custom level like ADMIN_LEVEL_H ( "t" ). And in your plugin, you use ADMIN_LEVEL_H as level needed.
|
Re: Scripting with steam id help
Quote:
Quote:
|
Re: Scripting with steam id help
Quote:
|
Re: Scripting with steam id help
Quote:
|
| All times are GMT -4. The time now is 22:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.