09.09.2013, 10:21
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerNameTag[playerid] = CreatePlayer3DTextLabel(i, name , COLOR_WHITE , pX, pY, pZ+0.1,20.0, playerid, INVALID_VEHICLE_ID, 1);
}
Here's the code.
pawn Код:
UpdatePlayer3DTextLabelText(playerid, PlayerNameTag[playerid], COLOR_LIGHTBLUE, string);
pawn Код:
CreatePlayer3DTextLabelText(playerid, text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, attachedplayer, attachedvehicle, testLOS)
pawn Код:
UpdatePlayer3DTextLabelText(playerid, PlayerText3D:id, color, text[])
My Question, on UpdatePlayer3DTextLabelText, would the playerid be 1st Parameter in the creating function (playerid) or would it be 2nd parameter which is (attachedplayer)?
2nd Question,
Regarding the TestLOS, which one would let the text NOT to go through walls?
Thanks for helping.