Home   Help Search Login Register  

Author Topic: player = ? on dedicated server?  (Read 1220 times)

0 Members and 2 Guests are viewing this topic.

Offline snYpir

  • BIS Team
  • ****
  • OFPEC Jedi Master
    • OFPEC
player = ? on dedicated server?
« on: 18 May 2003, 06:31:48 »
What does the 'player' variable equal on a dedicated server? ie on the actual server machine?
Bohemia Interactive Simulations

Offline snYpir

  • BIS Team
  • ****
  • OFPEC Jedi Master
    • OFPEC
Re:player = ? on dedicated server?
« Reply #1 on: 18 May 2003, 06:41:20 »
Answering my own question...

It equals <NULL-object>. So the following can be used to determine if a script is running on the dedicated server machine:

? format["%1",player] == "<NULL-object>" : hint "i am on the ded server"

;D
Bohemia Interactive Simulations