30.11.2010, 21:11
(
Последний раз редактировалось Biesmen; 30.11.2010 в 21:47.
Причина: Typo fixed.
)
I'm trying to update the label. That didn't work, so I also tried to remove it. Doesn't work neither.
Here is my code:
At the top of the script:
OnGameModeInit
OnPlayerCommandText
Here is my code:
At the top of the script:
pawn Код:
new Text3D:stuff;
pawn Код:
format(stufftype, sizeof(stufftype), "%s", PlayerInfo[playerid][PMessage]); // Stufftype is defined. Do not worry about that.
stuff = Create3DTextLabel(stufftype, NEWBIE_COLOR, x, y, z, 20.0, 0); // X, Y and Z is defined. Do not worry about that.
pawn Код:
Update3DTextLabelText(stuff, NEWBIE_COLOR, "New message!");