• Welcome to Vice City Multiplayer.
 

Get spawned players

Started by jansi, March 24, 2008, 12:14:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jansi

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

ReVilo


Mex

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.