Author Topic: Get spawned players  (Read 3450 times)

0 Members and 1 Guest are viewing this topic.

Offline jansi

  • Street Thug
  • *
  • Posts: 5
    • View Profile
Get spawned players
« on: March 24, 2008, 02:14:04 pm »
Is it possible to find out which players were already spawned before script was connected to the server?

It's like I have a server with 3 players: first one is driving around, second is spawned but hasn't moved or received any damage and the last one is still selecting his team. And now when I connect mIRC script, it should get every player's state - if he is spawned. How to do that?

Checking the hp or coordinates won't work (2nd player).

EDIT: btw it's enough with the idea how to do that; the mirc script is not so important
« Last Edit: March 24, 2008, 02:18:56 pm by jansi »

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: Get spawned players
« Reply #1 on: March 24, 2008, 06:58:43 pm »
sansan does that I think

Offline Mex

  • Wiseguy
  • **
  • Posts: 63
    • View Profile
Re: Get spawned players
« Reply #2 on: March 31, 2008, 07:25:59 pm »
You could probably loop around all the players and check their speed.
Though it wouldn't work if a player's location changes as they switch through skins on the spawn screen, i'm not sure if it does.