Quote:
|
Originally Posted by excaliber7388
Are you able to detect if a person is using Linux, Mac, or Windows, etc?
|
Yes. Using the player.platform variable, I guess you could do something like this:
PHP Code:
if (player.platform in {"linux", "mac"})
{
player.sendPM("foo");
}
else
{
player.sendPM("bar");
}
The possible values for player.platform are "linux", "mac" and "win", and the variable is readable from the serverside.