General > Developers Corner

String arg

<< < (3/3)

bender180:
Thanks Mr.P, but i just reversed this right before the fancy admin

--- Code: ---if role == "traitor" then role = ROLE_TRAITOR end
    if role == "detective" then role = ROLE_DETECTIVE end
    if role == "innocent" then role = ROLE_INNOCENT end
--- End code ---

Megiddo:
Yep, just store it in another variable or something.

Navigation

[0] Message Index

[*] Previous page

Go to full version