29.11.2009, 15:17
Код:
new rank = GetPlayerRank(playerid); Create3DTextLabel("Rank: %s",0x008080FF,-2062.5583,237.4662,37.7149,40.0,0, rank);
![](/imageshack/img21/9517/samp000k.png)
new rank = GetPlayerRank(playerid); Create3DTextLabel("Rank: %s",0x008080FF,-2062.5583,237.4662,37.7149,40.0,0, rank);
new rank = GetPlayerRank(playerid),
string[ 64 ];
format(string, sizeof(string), "Rank: %s", rank);
Create3DTextLabel(string,0x008080FF,-2062.5583,237.4662,37.7149,40.0,0);
new str[128]; new PR = PInfo[playerid][Rank]; format(str, 128, "Rank: %d: \"%s\"", PR, RankInfo[PR][RName]); new attach[MAX_PLAYERS]; attach[playerid] = Create3DTextLabel(str,0x008080FF,-2062.5583,237.4662,37.7149,40.0,0); // ERROR LINE Attach3DTextLabelToPlayer(attach[playerid],playerid,0,0,0.30);
new attach[playerid] = Create3DTextLabel(str,0x008080FF,-2062.5583,237.4662,37.7149,40.0,0);
new attach[MAX_PLAYERS][32] = Create3DTextLabel(str,0x008080FF,-2062.5583,237.4662,37.7149,40.0,0);