Hey, Would this work
if TTTPrepareRound then
and also can i do 2 or's in a row for it.
(if self.Owner:IsRole(ROLE_INNOCENT) or self.Owner:IsRole(ROLE_DETECTIVE) or TTTPrepareRound then)
Thanks for any help i can get i appreciate it
-Adam
What are you trying to do inside of the "hook"? If you wanted to get the state of the round. You can do this for example[code]if GetRoundState() == ROUND_ACTIVE then[/code] If you wanted to get the state of a round. I'm not really sure what you're asking. That's not how you use a hook correctly though.
[QUOTE=Matsumoto;50563557]What are you trying to do inside of the "hook"? If you wanted to get the state of the round. You can do this for example[code]if GetRoundState() == ROUND_ACTIVE then[/code] If you wanted to get the state of a round. I'm not really sure what you're asking. That's not how you use a hook correctly though.[/QUOTE]
Thankyou, My other reply was stupid Thanks that really helped
Try ROUND_PREP or ROUND_WAIT. [code]if GetRoundState() == ROUND_PREP then return end[/code]
[QUOTE=Matsumoto;50563730]Try ROUND_PREP or ROUND_WAIT. [code]if GetRoundState() == ROUND_PREP then return end[/code][/QUOTE]
Oh my god thankyou so much! thats really helped me
Sorry, you need to Log In to post a reply to this thread.