//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
}
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) |