General > Developers Corner

TTT Module not working

<< < (2/4) > >>

JamminR:
Are the role and team variables set globally, before those commands are run?
You use setrole and setteam several times, and the error seems to refer to a global variable (__fn) and says 'unknown'.

TheSpy7:

--- Quote from: JamminR on March 19, 2013, 07:20:45 PM ---Are the role and team variables set globally, before those commands are run?
You use setrole and setteam several times, and the error seems to refer to a global variable (__fn) and says 'unknown'.

--- End quote ---

How can I check that?

TheSpy7:

--- Quote from: JamminR on March 19, 2013, 07:20:45 PM ---Are the role and team variables set globally, before those commands are run?
You use setrole and setteam several times, and the error seems to refer to a global variable (__fn) and says 'unknown'.

--- End quote ---

Nevermind. After hours of debugging, it turns out that ULX just doesn't like capitals (Traitor, Detective, etc.)

Well, that was frustrating.

nathan736:
doing a check to see if they are dead  then spawn them if they are could help prevent people geting spawned on kill boxes


shity old post bellow
==
that reminds me -face ground - you don't need to set there team  because TTT does it  how do you think people become terrorists they get set to it by the game mode
ps: this would only cause adverse effects on spectators but Why would you set a spectator to a role anyways they are spectating for a reason
==

JamminR:

--- Quote from: TheSpy7 on March 19, 2013, 11:45:08 PM ---Nevermind. After hours of debugging, it turns out that ULX just doesn't like capitals

--- End quote ---
Wait, what?
Except for making sure you type in the same commands/case sensitivity in lua, ULib shouldn't care.
Megiddo, is there something in ULib that would prevent these from loading if he's using mixed-case.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version