Raised This Month: $252 Target: $400
 63% 

custom cvar?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RaidoNek
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 13:59   custom cvar?
Reply With Quote #1

Hello, is there anyway to set client his customcvar? You know like set_user_info(id,"is_good_guy", "1"); ?
RaidoNek is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 06-28-2020 , 14:05   Re: custom cvar?
Reply With Quote #2

PHP Code:
client_cmd(id"is_good_guy 1"
alferd is offline
RaidoNek
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 14:14   Re: custom cvar?
Reply With Quote #3

Will it work?
RaidoNek is offline
RaidoNek
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 14:15   Re: custom cvar?
Reply With Quote #4

Unknown command: -grab
] setinfo
_csgopass heslo

Because i have got this in setinfo and i couldnt do this same thing at my server
RaidoNek is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 06-28-2020 , 14:17   Re: custom cvar?
Reply With Quote #5

I did not understand what you mean
alferd is offline
RaidoNek
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 14:26   Re: custom cvar?
Reply With Quote #6

I would like to create custom client-sided cvar and control/set another value to/delete it, i give you an example 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.
RaidoNek is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 06-28-2020 , 14:30   Re: custom cvar?
Reply With Quote #7

Slow hack = NO SUPPORT
alferd is offline
RaidoNek
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 14:32   Re: custom cvar?
Reply With Quote #8

It's not meant to be slowhack, i wanted to make auto-login system with this But okay,thank u
RaidoNek is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-28-2020 , 15:24   Re: custom cvar?
Reply With Quote #9

Quote:
Originally Posted by RaidoNek View Post
It's not meant to be slowhack, i wanted to make auto-login system with this 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.
__________________

Last edited by HamletEagle; 06-28-2020 at 15:24.
HamletEagle is offline
Old 06-28-2020, 22:07
supertrio17
This message has been deleted by supertrio17. Reason: didn see post #6 :(
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-28-2020 , 22:08   Re: custom cvar?
Reply With Quote #10

Quote:
Originally Posted by supertrio17 View Post
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.
__________________

Last edited by fysiks; 06-28-2020 at 22:10.
fysiks is offline
Reply


Thread Tools
Display Modes

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 20:07.


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