sutfftext

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

sutfftext

Post by kai0ty »

i doubt its this simple, but ill give it a shot.
when running a server, i type

Code: Select all

rcon password 1 stufftext kill
1 would be the client number
whats wrong with this? im betting thers a lot.
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I think you type in rcon address press enter then rconpassword serverpassword then press enter then type in rcon ???? but if you are the server then just type in your command if it is not a dedicated server
Image
WarTech
Colour Sergeant
Posts: 88
Joined: Mon May 05, 2003 3:15 am

Post by WarTech »

bdbodger wrote:I think you type in rcon address press enter then rconpassword serverpassword then press enter then type in rcon ???? but if you are the server then just type in your command if it is not a dedicated server
rconpassword <serverpassword>

rcon status

will show you the client numbers

Regards
<TWZ>WarTech
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

i know how to do all of that stuff, but im wondering if my stufftext command is in the right syntax, or if there is something different i shud type, OR some file that i need.
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
User avatar
oddball
Corporal
Posts: 44
Joined: Tue May 27, 2003 3:49 pm
Contact:

Post by oddball »

$player[playernumber of player to kill] stufftext "kill"

this works :)
[VS-UK]Maj.OddBall[BnHQ]
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

how would i obtain the player number, or do u mean client number? (i know they arent the same)
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
User avatar
oddball
Corporal
Posts: 44
Joined: Tue May 27, 2003 3:49 pm
Contact:

Post by oddball »

use rcon status to see the player/clientnumber.
that should do it.
[VS-UK]Maj.OddBall[BnHQ]
User avatar
LeadHead
Sergeant Major
Posts: 115
Joined: Sun Apr 04, 2004 8:13 pm
Location: New York
Contact:

Post by LeadHead »

cant u also just hold TAB and look at the client number on the scoreboards?
Image
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

nope
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

oddball wrote:use rcon status to see the player/clientnumber.
that should do it.
ahh, didnt realise it showed player number too. gracias.
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
Post Reply