Posts: 83
Threads: 44
Joined: Apr 2016
Код:
new iS = Player[playerid][PlayerGang];
new Text3D:label = Create3DTextLabel("%s",Gang[iS][GangName],0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
warning
warning 213: tag mismatch
if i used this so
Код:
new iS = Player[playerid][PlayerGang];
new Text3D:label = Create3DTextLabel("%s",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0,Gang[iS][GangName]);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
so it compiled sucess full but in game it show %s
Posts: 427
Threads: 43
Joined: Oct 2015
Reputation:
0
new Text3D:label[MAX_PLAYERS];
new iS = Player[playerid][PlayerGang];
label[playerid] = Create3DTextLabel("%s",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
format(string,sizeof(string),"%s",inputtext);
Update3DTextLabelText(Gang[iS][GangName], 0xFF0000FF, string);
Posts: 83
Threads: 44
Joined: Apr 2016