ID:269154
Mar 23 2005, 8:10 pm
|
|
Is there any way to tell what operating system the client is running on?
|
In response to Jiskuha
|
|
Why do you keep on replying to my posts when you have the wrong information? CLIENT is different from WORLD.
Next time double check your information before you post. |
In response to Flame Sage
|
|
Flame Sage wrote:
Why do you keep on replying to my posts when you have the wrong information? CLIENT is different from WORLD. [src.system_type] // players system type. Same var. ~>Jiskuha |
In response to Jiskuha
|
|
Ahhem, zing.
-- Super Squirrel ((Oh meh gawd, that bird is glowing...)) |
In response to Super Squirrel
|
|
Player.dm:7:error:src.system_type:undefined var
Player.dm:26:error:src.system_type:undefined var Ahhem, zing. I keep on trying to tell you, the variable is listed under world/ That means its a WORLD variable, you can't have the same variable declaring two diffrent types. world/system_type This variable indicates the operating system type at run-time. It will be one of the following constants: |
In response to Flame Sage
|
|
Should'nt those two variables go in the statpanel? As a stat .
Edit: I tried putting it in the statpanel, but the [src.system_type] did'nt work. But, the other one did. |
In response to MasterLink2003
|
|
No. You missed the point, link.
|
In response to Ter13
|
|
Oh, that always happens.
|
BYOND doesn't have a built in system to do it, but you can use javascript to detect a client's operating system and report it back to the server.
client There will be a slight delay of at least 1 tick before the client recieves the page and reports back. |
Why don't you ever use the DM Reference, It's here for a reason.
~>Jiskuha