| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
IsClient
Checks if plugin is running on a client.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "IsClient" )
Parameters
none
Result
Returns 1 on client or 0 elsewhere.
Description
Checks if plugin is running on a client.Returns 0 if running on a server.
See also IsRegistered, IsRuntime and IsServer.
Examples
Run on client:
If [MBS( "IsClient" )]
# runs on client
Else
# runs on server or where no plugin is installed
End If
# runs on client
Else
# runs on server or where no plugin is installed
End If
See also
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 21st October 2017
MarkDown version: IsClient.md