09.05.2010, 13:06
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; }