3D text problem!
#1

Код:
new Text3D:label[MAX_PLAYERS];
 
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/adminonduty", cmdtext, true, 10) == 0)
	{
                label[playerid] = Create3DTextLabel("Admin on  Duty!",0x008080FF,30.0,40.0,50.0,40.0,0);
                Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
                return 1;
	}
	return 0;
}


public OnPlayerDisconnect(playerid, reason)
{
    Delete3DTextLabel(label[playerid]);
    return 1;
}
Why when player disconect , 3D text not destroy and attach on another player?
Reply


Messages In This Thread
3D text problem! - by dud - 23.02.2011, 10:14
Re: 3D text problem! - by HyperZ - 23.02.2011, 12:17
Re: 3D text problem! - by dud - 23.02.2011, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)