Outdated as I add access to this other? (admin, co-host, host)

MagnateSnake13

Known Member
Messages
25
Reaction score
9
Points
108
name = (player getname());
foreach(cohost in level.cohosts) if(name==cohost) player.status = "Co-Host";
 

無法者

Veteran
Messages
135
Reaction score
55
Points
578
If youre trying to do co-host list i think this is the easiest way
put this to onplayerconnect()
name = (player getname());
foreach(cohost in level.cohosts) if(name==cohost) player.status = "Co-Host";
somewhere after it makes you host
 
Top