registerSteamid
This command makes it so that the race is only available to the SteamID's that you define inside a tuple.
The correct syntax is:
wcs.Race('My Race Name').registerSteamid((<tuple of SteamID's))
- Tuple of SteamID's - If you do not know what a tuple is, then you may consider reading up about it here. It is virtually a list inside brackets, each SteamID within it's own quotation marks, seperated by commas.
Examples:
race = wcs.Race('Freddukes')
allowed_steamid = ('STEAM_0:1:17784865','STEAM_0:0:10586975')
race.registerSteamid(allowed_steamid)
Note: If you do not use a restricted race, do NOT use this command!
Comments (0)
You don't have permission to comment on this page.