[SOLVED]how to do anything on player without checking...
how can i change players team without
if(is_user_alive(id)) ? i tried this but i got error : PHP Code:
|
Re: how to do anything on player without checking...
more code... if you have get_players there, it should be like players[ i ]
|
Re: how to do anything on player without checking...
nope. i dont. i just want to transfer all players(dead or alive) to T.but when i check if is user alive,my dead players will not transfered and when i dont check, nobody willbe tranfered.
& sorry forget my first code. this is my right code : PHP Code:
|
Re: how to do anything on player without checking...
is_user_connected ? :|
|
Re: how to do anything on player without checking...
huh? sry but i learned to ask ever if is user alive. this is new for me. when you say that this works, then works too.
ty |
Re: [SOLVED]how to do anything on player without checking...
If you want to include dead players, use is_user_connected, if only want to include alive, use is_user_alive?
|
Re: how to do anything on player without checking...
Quote:
|
Re: [SOLVED]how to do anything on player without checking...
yea sry that i never this in c# :)
i can search for my old threads in which anyone writed that i have ever check if is player alived :) all what i know about amxx , is that what users say or what i saw to learn oO lol? |
Re: [SOLVED]how to do anything on player without checking...
I told you more than once to look at the funcwiki, haven't I? You can answer 99% of your question simply looking at the wiki with the right keywords.
|
Re: [SOLVED]how to do anything on player without checking...
You should reconsider get_players.
Anyway : ( Check if player is CT prevent the plugin from switchng spec and to set again Ts ) PHP Code:
|
| All times are GMT -4. The time now is 22:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.