Home   Help Search Login Register  

Author Topic: Player1 - Myself Player2 - ?  (Read 905 times)

0 Members and 1 Guest are viewing this topic.

Offline Doffen74

  • Members
  • *
  • BUGGERS!!!
    • MarnarNett
Player1 - Myself Player2 - ?
« on: 12 Jan 2004, 23:32:09 »
Hi. Is it possible to find the players in the game using a script.
I know that you can find yourself using the PLAYER command.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Player1 - Myself Player2 - ?
« Reply #1 on: 13 Jan 2004, 00:51:02 »
Yes it's possible:

basically player returns the player on each machine

so: player sidechat "hello"

will appear to everyone, as if he would have said that

Doffen74: "hello"
ChrisDeath: "hello"
etc.

Also there are other ways of getting the players, depending
on what you want to do.

e.g: playersNumber side

returns the number of players, playing on given side

(taken from da comref)

As i said, there's more you can do, but it would be helpful
to know, what you want to do, before posting a lot of stuff,
which you do not really need  ;D

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted