[HELP]CreatePickupWith3DText
#1

stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
CreatePickup( 1318, 1, 1825.503051, -1538.151855, 13.546875, 0 ); // hej hej
Create3DTextLabel( Vip Garage, 0xFFFFFFFF, X, Y, Z+0.75, 40.0, 0 );
return 1;
}

Why are the no Text
Reply
#2

pawn Код:
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
    Create3DTextLabel(text, 0xFFFFFFFF, X, Y, Z+0.75, 40.0, Virtualworld, 0);
    CreatePickup(model, type, X, Y, Z, Virtualworld);
    return 1;
}
That should work.
Reply
#3

You forgot to add quotes ("") on this: Create3DTextLabel
Reply
#4

Put the stock at the of your GM:

PHP код:
stock CreatePickupWith3DText(modeltypeFloat:XFloat:YFloat:ZVirtualworldtext[])
{
    
Create3DTextLabel(text0xFFFFFFFFXYZ+0.7540.0Virtualworld0);
    
CreatePickup(modeltypeXYZVirtualworld);
    return 
1;

And use this where you need:

PHP код:
CreatePickupWith3DText(131811825.503051, -1538.15185513.5468750"Vip Garage"); 
Reply
#5

stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
CreatePickupWith3DText(1318, 1, 1825.503051, -1538.151855, 13.546875, 0, "Vip Garage");
Create3DTextLabel(text, 0xFFFFFFFF, X, Y, Z+0.75, 40.0, Virtualworld, 0);
CreatePickup(model, type, X, Y, Z, Virtualworld);
return 1;
}

?
Reply
#6

Read my last post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)