01.01.2010, 15:07
Hi,
I haven't got any errors in my script, but ingame the 3D text label doesn't shows...
Heres my script;
I don't know if it has anything to do with it, but i used SetPlayerColor(playerid,COLOR); before the Create3DTextLabel(string,GetPlayerColor(playerid), 0.0,0.0,0.0, 40.0, 0, 0);
Thanks
I haven't got any errors in my script, but ingame the 3D text label doesn't shows...
Heres my script;
Код:
//OnTop new Text3D:playerlabel[MAX_PLAYERS]; //OnPlayerSpawn if(GetPlayerTeam(playerid) == TEAM_LS)format(string,sizeof(string),"LS Airport"); else if(GetPlayerTeam(playerid) == TEAM_LV)format(string,sizeof(string),"LV Airport"); playerlabel[playerid] = Create3DTextLabel(string, GetPlayerColor(playerid), 0.0,0.0,0.0, 40.0, 0, 0); Attach3DTextLabelToPlayer(playerlabel[playerid], playerid, 0.0,0.0,0.0); //OnPlayerDisconnect & OnPlayerDeath Delete3DTextLabel(playerlabel[playerid]);
Thanks