3DTextLabel - Bugzzz, HELP!
#1

Well, This is the Script:
pawn Код:
/* Top of Script */
new pu;
new Text3D:put;

/* Then OnDialogResponse or something */
if(dialogid == Dialog_PickUp)
{
    if(!response) return 0;
    new Float:X,Float:Y,Float:Z;
    new txtP[128];
    GetPlayerPos(playerid, X,Y,Z);
    pu = CreatePickup(1239, 1, X, Y, Z, -1);
    format(txtP, sizeof(txtP), "{FF0000}%s\n{33FF33}- Text", inputtext);
    put = Create3DTextLabel(txtP,Yellow,X,Y,Z,40.0,-1, 1);
    return 1;
}
There are no Errors, But when it creating the Pickup and the 3Dtextlabel, The 3D Text being shown first, After 2 seconds it's disappear, and then the Pickup getting shown.

HELP
Reply
#2

pawn Код:
/* Top of Script */
new pu;
new Text3D:put;

/* Then OnDialogResponse or something */
if(dialogid == Dialog_PickUp)
{
    if(!response) return 0;
    new Float:X,Float:Y,Float:Z;
    new txtP[128];
    GetPlayerPos(playerid, X,Y,Z);
    pu = CreatePickup(1239, 1, X, Y, Z, -1);
    format(txtP, sizeof(txtP), "{FF0000}%s\n{33FF33}- Text", inputtext);
    put = Create3DTextLabel(txtP,Yellow,X,Y,Z,40.0,-1, 1);
    return 1;
}
Never mine... Fixed, In the
pawn Код:
put = Create3DTextLabel(txtP,Yellow,X,Y,Z,40.0,-1, 1);
It was needed to be
pawn Код:
put = Create3DTextLabel(txtP,Yellow,X,Y,Z,40.0,GetPlayerVirtualWorld(playerid), 1);
Ty anywat
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)