[HELP]CreatePickupWith3DText -
decastro96 - 01.07.2011
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
Re: [HELP]CreatePickupWith3DText -
[HiC]TheKiller - 02.07.2011
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.
Re: [HELP]CreatePickupWith3DText -
dr.pepper - 02.07.2011
You forgot to add quotes ("") on this: Create3DTextLabel
Re: [HELP]CreatePickupWith3DText -
Shadoww5 - 02.07.2011
Put the stock at the of your GM:
PHP код:
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;
}
And use this where you need:
PHP код:
CreatePickupWith3DText(1318, 1, 1825.503051, -1538.151855, 13.546875, 0, "Vip Garage");
Re: [HELP]CreatePickupWith3DText -
decastro96 - 02.07.2011
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;
}

?
Re: [HELP]CreatePickupWith3DText -
Shadoww5 - 02.07.2011
Read my last post.