General > Developers Corner

String arg

<< < (2/3) > >>

bender180:
one last thing the echo is outputting a number where #s is do i need to change the string again?


--- Code: ---] ulx force Bender180 detective
]
ServerLog: [ULX] (SILENT) Bender180 set Themself to 2
You are: DETECTIVE
(SILENT) You set Yourself to 2
-
--- End code ---

MrPresident:
That you'll have to wait on one of the other guys to chime in on. I never really understood how fancylog worked and there is no documentation on it as far as I know because it's ULX not ULib.

JamminR:
To my memory, teams are numbers.
I'm guessing you'll need to use whatever function the gamemode does to look up, or set staticly in your code, team number translations.

bender180:
yes i had to change them back to strings from the role and the teams being numbers makes sense now.

MrPresident:
Ahh, good call Jam.

You will use team.GetName(index) to return the name of the team.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version