AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   custom cvar? (https://forums.alliedmods.net/showthread.php?t=325596)

RaidoNek 06-28-2020 13:59

custom cvar?
 
Hello, is there anyway to set client his customcvar? You know like set_user_info(id,"is_good_guy", "1"); ?

alferd 06-28-2020 14:05

Re: custom cvar?
 
PHP Code:

client_cmd(id"is_good_guy 1"


RaidoNek 06-28-2020 14:14

Re: custom cvar?
 
Will it work? :D

RaidoNek 06-28-2020 14:15

Re: custom cvar?
 
Unknown command: -grab
] setinfo
_csgopass heslo

Because i have got this in setinfo and i couldnt do this same thing at my server

alferd 06-28-2020 14:17

Re: custom cvar?
 
I did not understand what you mean

RaidoNek 06-28-2020 14:26

Re: custom cvar?
 
I would like to create custom client-sided cvar and control/set another value to/delete it, i give you an example :D I will ban him for cheating and create client-sided cvar "was-been-banned" to 1 and if he connects again after ban expires, plugin recognize him with this cvar and do whatever programmer set him to do.

alferd 06-28-2020 14:30

Re: custom cvar?
 
Slow hack = NO SUPPORT

RaidoNek 06-28-2020 14:32

Re: custom cvar?
 
It's not meant to be slowhack, i wanted to make auto-login system with this :D But okay,thank u

HamletEagle 06-28-2020 15:24

Re: custom cvar?
 
Quote:

Originally Posted by RaidoNek (Post 2707695)
It's not meant to be slowhack, i wanted to make auto-login system with this :D But okay,thank u

You don't need a login system if all your saving is done by steamid since only one person can have that steamid.

fysiks 06-28-2020 22:08

Re: custom cvar?
 
Quote:

Originally Posted by supertrio17 (Post 2707742)
Well, you can always make a clcmd and read parameters, so the first parameter would be his name, and the second one would be "value".

Then you could use nVault to store that parameter with users id. I think this is what you want?

Edit:

Easier would be to make a player menu.

Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.


All times are GMT -4. The time now is 19:16.

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