Ulysses
General => Developers Corner => Topic started by: kaos2100 on October 17, 2012, 10:41:37 AM
-
How would I make it so players can choose to be Traitors or Detectives if they are VIP(donators)?
Thanks.
-
You can set player roles by using Player:SetRole(), for example Player:SetRole( ROLE_TRAITOR ).
But remember to call SendFullStateUpdate() to make sure that people know what their roles are.
also credits can be set by using Player:SetCredits( number ), if you want them to have credits.
-
Thank you VERY MUCH! :D