Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Who is "player" on a ded server?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Who is "player" on a ded server? (Read 1593 times)
0 Members and 1 Guest are viewing this topic.
KeyCat
Members
Who is "player" on a ded server?
«
on:
28 Dec 2002, 12:47:25 »
I assume none and that the "player" can't be used on server side script but wanted to ask, anybody knows for sure?
/Christer (a.k.a KeyCat)
Logged
- The journey is the reward!
Tactician
Guest
Re:Who is "player" on a ded server?
«
Reply #1 on:
28 Dec 2002, 19:14:51 »
In a script run locally by the server, "player" will only function if a player is hosting. Won't do anything on a dedicated server as far as I know. The short answer is no, you can't use "player" in a server-side script.
Logged
KeyCat
Members
Re:Who is "player" on a ded server?
«
Reply #2 on:
29 Dec 2002, 06:47:46 »
Thanks for clarifying what I suspected T. I have things working with me hosting but want to write all my scripts so they also work on dedicated servers.
/Christer (a.k.a KeyCat)
Logged
- The journey is the reward!
Dinger
Contributing Member
where's the ultra-theoretical mega-scripting forum
Re:Who is "player" on a ded server?
«
Reply #3 on:
29 Dec 2002, 22:46:32 »
to detect a ded server:
?player == player:goto "nondedserver"
#dedserver
;ded-server only stuff here
#nondedserver
Logged
Dinger/Cfit
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Who is "player" on a ded server?
Top of page