Commands for Ts are executed on CTs
Hello everybody,
I've got a problem with my menu, everything which should happen on the Ts happens on the CTs, I hope you can search the mistake and tell me whats wrong. : PHP Code:
|
Re: Commands for Ts are executed on CTs
umm
try writing ct instead of t and see what happens? |
Re: Commands for Ts are executed on CTs
No changes...
// EDIT : After using CT instead of T and then changing back to T, it worked. ö.o |
Re: Commands for Ts are executed on CTs
Well, firstly, use is_user_connected() or is_user_alive(), otherwise it'll error on the first non-existent id.
Also, since you're checking the team of all 'user's, set_user_maxspeed(id,320) should be set_user_maxspeed(user,320)? |
Re: Commands for Ts are executed on CTs
Lol, you loop though all players, and each time a single player match the team you check, you execute the code on the first player passed (id).
You don't understand what you do, you should start with more basic and easy code. |
Re: Commands for Ts are executed on CTs
Hmm...what code should I use instead?
EDIT : Ok, got it. PHP Code:
|
Re: Commands for Ts are executed on CTs
mh, doesnt work, dont know, anyone know the right code?
|
| All times are GMT -4. The time now is 19:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.