if the players knew what new binds to add, and i imagine players with that mod would know what to add. It could be done. I have somethign similar on new ac so multiple admins can talk to the mod.Rookie One wrote:It won't be usable in bots as you cannot get cvars from players, only the server.
Try this:The + in front of a command makes it being executed when a button is pressed. The - command is executed when the button is released. E.g. when you press your fire, +attackprimary is done. When you release it, -attackprimary is done.Code: Select all
alias codnade "locationprint 275 100 THROWING 0; useweaponclass grenade; wait; wait; wait; +attackprimary; wait; wait; wait; -attackprimary; say *35; +uselast"
Wait takes miliseconds as parameters. Giving it a paramter of .6 if quite pointless.
new keys?
Moderator: Moderators
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
no, But u dont have to try and read the client.Rookie One wrote:It's not going to work as you cannot read players' cvars via script.
EDIT: jv pointed out to me something, i wud be giving rcon to everyone and he dotn think its a good idea..personaly i wudnt care though..:S
Last edited by Elgan on Sat Mar 19, 2005 3:39 pm, edited 1 time in total.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
some horses butt server is useing stufftext to add that alias to your unnamedsoldier.cfg only way to stop it is to make unnamedsoldier.cfg read only but then you have to make it writeable again to add to it againMaster-Of-Fungus-Foo-D wrote:now what would explain something like set alias "dog" "say IM A CHEATING LITTLE ******* KICK ME!!!!! KICK ME!!!!!" appearing in my cfg file?
i do that and a lot of server admins flip out because they run programs and shiz that write to my config, and i get tired of it and read-only it, since i usually don't make new binds, it can be a hassle, but it's worth it to not have my rate, settings, custom binds, force models, etc changed. i don't take kindly to crackers changing my stuff.
@SSUK: thanks 8)
@SSUK: thanks 8)
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006



