13.12.2009, 15:40
Hey,
I got these lines:
And I get warning 213: tag mismatch
Edit:
Solved the problem.. Missed
new Text3D:label;
I got these lines:
pawn Код:
//COLOR_ME defined...
new Float:x,Float:y,Float:z;
if(!strcmp(pName[playerid], "TrainDriverSF"))
{
new label;
PutPlayerInVehicle(playerid, TrainSF, 0);
GetPlayerPos(playerid,x,y,z);
label = Create3DTextLabel("James\n(Train Driver)",COLOR_ME,x,y,z,40.0,1,0); //warinng
Attach3DTextLabelToPlayer(label,playerid,0.0,0.0,5.0); //warning
}
Quote:
Originally Posted by SAMP Wiki
Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, virtualworld, testLOS) |
Solved the problem.. Missed
new Text3D:label;