Post your scripting questions / solutions here
Moderator: Moderators
-
simsalabim
- Lance Corporal
- Posts: 17
- Joined: Wed Jan 18, 2006 6:58 pm
Post
by simsalabim »
Is it possible to query the clientid or the IP-adress via script?
What im planning to do:
If a player does something lets say 5 times -> then kick.
Any ideas?
Greets,
simsala
-
simsalabim
- Lance Corporal
- Posts: 17
- Joined: Wed Jan 18, 2006 6:58 pm
Post
by simsalabim »
So i guess this is a "no"? ^^
-
oddball
- Corporal
- Posts: 44
- Joined: Tue May 27, 2003 3:49 pm
-
Contact:
Post
by oddball »
as far as i know, its a no..
[VS-UK]Maj.OddBall[BnHQ]
-
simsalabim
- Lance Corporal
- Posts: 17
- Joined: Wed Jan 18, 2006 6:58 pm
Post
by simsalabim »
Okay, workarround:
Can i set a certain variable/counter to a player. And if he does sumthing, lets say activating a trigger 5 times, he gets kicked?
-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
Hmm one way of kicking a player via script is just removing him
$player[number] remove
but it's not a very nice way
