if team is ct
What to add to this code, so it will check if user team is CT? and if it isnt it wont work.
Code:
public timer_task() { |
Re: if team is ct
if(is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2 && showtimer[i-1] && timer_started[i-1]) {
|
Re: if team is ct
nope, i still can run the timer.. :(
|
Re: if team is ct
If what connorr wrote doesn't work, then there must be something wrong with the showtimer[] or timer_started[] variable.
It'd be easier to T-shoot if you posted the whole code. |
| All times are GMT -4. The time now is 01:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.