Clan vs all

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Speciecs8472
Lance Corporal
Posts: 14
Joined: Thu Mar 18, 2004 10:22 pm

Clan vs all

Post by Speciecs8472 »

Would there be any way of setting up a myclan vs all, so that all non clan members would be on the oppsite team?


If that cant be done, is there anyway of knowing if a client has the rcon password or private client password?

or any way to know if a client is a member of the said clan?, by setting a flag or something.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well you could stufftext a rcon command, for example, to set a cvar. Then when the cvar is changed this client obviously has the correct rconpassword :)
Image
Speciecs8472
Lance Corporal
Posts: 14
Joined: Thu Mar 18, 2004 10:22 pm

Client cvars

Post by Speciecs8472 »

Jv_map thanx, but i what i want to do is read a clients cvars, How can i do that.
when i use getcvar i get the servers cvars.

I have not posted much, new, but for the times i did post. The replys were quick and always correct. I just wanna say Thank you.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

:)

You cannot get client cvars via script :(... you can only 'get' some client cvars with the dumpuser command :?
Image
Speciecs8472
Lance Corporal
Posts: 14
Joined: Thu Mar 18, 2004 10:22 pm

Syntax

Post by Speciecs8472 »

what would be the syntax for this command ?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

dumpuser # in console, where # is the client number...
Image
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

are u trying to make a mod that shows who has rcon on the server?? if so u might be able to throw some file on the rcon guys comp so when he goes in the server it says hes got rcon. my guess would be a config, something that sets a variable to 1, and in the map script do a getcvar to see if its one, and if it is do an iplrint thingy like "name" is on and has rcon, dont piss him off! then have different variable values corespond to different names. you could do the same if u had ur clan put .cfg in there main folders that gave a variable a certain value and forced them on a team, while forcing everyone else on the opposite team. put a couple of values so u can switch the mandatory team easily.
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
Speciecs8472
Lance Corporal
Posts: 14
Joined: Thu Mar 18, 2004 10:22 pm

Post by Speciecs8472 »

thx.
Post Reply