Help With Nick disapearing.
#4

You could have a timer that checks everybodys state, and if the state is PLAYER_STATE_ONFOOT you show their name and else you'll hide it.

like this:

Код:
OnGameModeInit(){
SetTimer("CheckState", 1000, true);
}


forward CheckState();
public CheckState(){
for(new i = 0; i < MAX_PLAYERS; i++){
if(GetPlayerState(i) == PLAYER_STATE_ONFOOT){
ShowPlayerTag(i, flase);//don't know about this command
}
else{
ShowPlayerTag(i, true);//don't know about this command
}
}
}
Reply


Messages In This Thread
Help With Nick disapearing. - by Mataaltedi - 02.08.2012, 12:59
Re: Help With Nick disapearing. - by [MM]RoXoR[FS] - 02.08.2012, 13:19
Respuesta: Help With Nick disapearing. - by Mataaltedi - 02.08.2012, 19:22
Re: Help With Nick disapearing. - by Ranama - 02.08.2012, 19:56
Respuesta: Help With Nick disapearing. - by Mataaltedi - 02.08.2012, 20:06
Re: Help With Nick disapearing. - by Ranama - 02.08.2012, 20:49
Respuesta: Help With Nick disapearing. - by Mataaltedi - 02.08.2012, 21:07
Re: Help With Nick disapearing. - by Ranama - 02.08.2012, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)