Action if the cmd (setClientCvar) value =1, or 2, or true, or false, "text", is it possible ??? (without libcod)
Printable View
Action if the cmd (setClientCvar) value =1, or 2, or true, or false, "text", is it possible ??? (without libcod)
yes, openmenuondvarvalue
See this thread for ideas:
http://killtube.org/showthread.php?2...r-Using-a-Menu
I can find out precise value? Since I do not know which way the scammer is using, so I want to know the value of CMD and record it in LOG_FILE, and after that to think about.
Somebody help me ???
What command is it about anyway?
PM me if you dont want it public.
This cmd add my mod,cmd - adds money, "good players" suggested that it was he makes the team, I know this man, I want to know the team and write down its value in LOG_FILE
I tried, but the value of CMD client, does not work, getcvar rcon cmd possible, but the client does no(
i still have no clue what you are trying to say.
In my mode there is an error (scripting), "free money" this error is due to the team, but I do not know the meaning of the command to get the money, and access to the store (SCRIPTS .gsc) I do not have, because I'm not the admin!
I need to get the value CMD, that's what I need !!
If you have a script runtime error, this cannot be fixed with getting dvars from clients. However, we can help you solve the error, but you must post it and the code so we can see where the problem is.
Golden Rule - if you have an error you don't understand, don't try to figure it out yourself. Post it here for us to look at. We are pretty damn good at this stuff, and I doubt there is an error we couldn't fix.
FUCKING LANGUAGE BARRIER!!!!!
===================================
I can not explain to you, or rather you can not understand!!!
That's what I NEED: value CMD player !!!!
==================================
You can help me ??????? !!! ????!?!?!?!?
//You can help me ??????? !!! ????!?!?!?!?
//You can help me ??????? !!! ????!?!?!?!?
You can help me ??????? !!! ????!?!?!?!????!?!?!??!?!
================================
I spent a lot of time.
Ты че пьяный чтоли? Ебать... Кароче, мне нужен способ или переменная которая отвечает за значение команды введённой игроком в консоль, или через /set. Надеюсь вы меня поймете)
Well I am not drunk if that's what you meant, tho I got something better for 2morrow ;)
I've got only 2 things in my mind, do you mean either this?
or maybe this?PHP Code:
setcvar("g_TeamName_Allies", &"MPUI_AMERICAN");
setcvar("g_TeamColor_Allies", ".25 .75 .25");
setcvar("g_ScoresBanner_Allies", "mpflag_american");
If it's not what you are looking for I honestly can't help.PHP Code:
game["axis"] = getCvar("scr_axis");
game["allies"] = getCvar("scr_allies");
Хмм.. А вы умны)) Вы не поняли, GETCVAR функциями я владею, но мне нужно получить значение команды самого клиента, команды которые он прописывал в консоль. Например он ввел команду: /set myname maxim.
Я должен получить значение "myname" и оно будет = "maxim". Надеюсь вы меня поймете)
Now you have confused me even more, really maybe tomorrow I'll be able to help because my brain works much better after smokin some goodie.
Хорошо) Жаль я не говорю на польском ;(
yuri, when you're sober, please translate it for us :)
Unfortunately that's all what I get:Quote:
Are you drunk or what? Fuck it ... In short, I need a way or a variable which is responsible for the value of the entered teams player in the console, or via the / set. I hope you will understand me)
Quote:
Hmm .. And you're smart)) You do not understand, GETCVAR functions I know, but I need to get the value of the client's team, the team that he prescribed to the console. For example, he introduced the command: / set myname maxim.
I need to get the value of "myname" and it will be = "maxim". I hope you will understand me)
Maybe someone else have an idea what does he wants to achieve?Quote:
Well) Sorry I do not speak Polish; (
He is trying to getclientcvar, because he thinks he needs it.
But from what i can tell, all he needs is the callback_playercommand in libcod (which does NOT cover the setclientcvar)