| Blockland Forums > Modification Help |
| Determining if client is Super Admin and Host |
| (1/1) |
| sh0ckthealien:
Basically, all I want to know is, is there a different way to do this? For the most part, this works. But if there is another Super Admin on at the same time as the host, what happens when the client is Super Admin, and what happens if the client is Host gets mixed up sometimes. I tried just using if(%client.isHost) but the same thing happens. Help? --- Code: ---function server///////Do stuff/////(%client,%msg) { /////Do stuff////// if(%client.isAdmin) { //////Do stuff if client is Admin//// if(%client.isSuperAdmin) { ////Do stuff if client is Super Admin//// } if(%client.isHost && %client.isSuperAdmin) { ////Do stuff if client is Host and Super Admin///// } } /////Do stuff//// } --- End code --- |
| Truce:
http://forum.blockland.us/index.php?topic=139238.msg3172896#msg3172896 |
| sh0ckthealien:
Thank you, Truce. |
| Navigation |
| Message Index |