help command not work
#7

U can use something like this but i dont think its a good way xD
Код:
if(!strcmp(cmdtext, "/admin_on", true) && IsPlayerAdmin(playerid)) {
	return Attach(playerid);
}

forward Attach(p);
public Attach(p)
{
	new Float:Pos[3];
	if(IsPlayerConnected(p)) {
		GetPlayerPos(p,Pos[0],Pos[1],Pos[2]);
		Delete3DTextLabel(label[p]);
		label[p] = Create3DTextLabel(">>>ADMIN<<<",0x33CCFFAA,Pos[0],Pos[1],Pos[2]+1.0,40.0,0);
	}else return Delete3DTextLabel(label[p]),true;
	SetTimerEx("Attach",500,false,"d",p);
	return 0;
}
Reply


Messages In This Thread
help command not work - by iJumbo - 09.05.2010, 12:38
Re: help command not work - by iJumbo - 09.05.2010, 12:48
Re: help command not work - by Jefff - 09.05.2010, 12:51
Re: help command not work - by iJumbo - 09.05.2010, 12:54
Re: help command not work - by Killa_ - 09.05.2010, 12:55
Re: help command not work - by iJumbo - 09.05.2010, 12:58
Re: help command not work - by Jefff - 09.05.2010, 13:06

Forum Jump:


Users browsing this thread: 8 Guest(s)