Help with convars
Hey,
Is there any way to do that convar will be at diffrent value on only 1 player I mean if I have the convar(example only)plugin_useplugincommands so I can do it 1 for player that I am choosing and 0 to the other. is that possible? thx. |
Re: Help with convars
It would be easier to make a command that effect on only 1 player,
you can try convar and make a loop to check the players in the servers. |
Re: Help with convars
|
Re: Help with convars
Quote:
|
Re: Help with convars
Quote:
I want a convar from my plugin |
Re: Help with convars
Did you bother to even click the link? If you bothered then you would know to use ReplicateToClient() on your convar handle.
|
Re: Help with convars
Quote:
ConVarRef convar_use doesn't point to an existing ConVar SetConVar: No such cvar ( convar_use set to 1), skipping |
Re: Help with convars
Quote:
BraveFox, you're thinking about this all wrong. You can't set a server-side, plugin-created convar to be different from one player to the other. There is only 1 instance of the convar, which is on the server. You need to rewrite your code to ignore the setting of the convar for certain players. |
Re: Help with convars
Quote:
|
Re: Help with convars
IDK, it's your code. Something like
PHP Code:
|
All times are GMT -4. The time now is 18:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.