Give item to last CT
Can you post your ideas?
I tried many ways, but my server is crashing. I wanna give an AK47 to the last CT. |
Re: Give item to last CT
first the ct team players by using get_players()
after then loop trough them and check if there is only 1 ct left and give him the ak47 |
Re: Give item to last CT
Can't you post the full code?
I tried myself alot of ways. |
Re: Give item to last CT
Post your code and we'll correct.
|
Re: Give item to last CT
UNTESTED & SHOULD WORK
PHP Code:
|
Re: Give item to last CT
PHP Code:
PHP Code:
|
Re: Give item to last CT
Quote:
|
Re: Give item to last CT
right but the threadcreator hopefully has a brain so he could get that on his own. I just wanted to show that a loop isnt necessary in this case. :)
PHP Code:
|
Re: Give item to last CT
Quote:
|
Re: Give item to last CT
something like this ?
PHP Code:
|
| All times are GMT -4. The time now is 05:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.