Tag mismatch
#4

Quote:
Originally Posted by rOps
Посмотреть сообщение
Код HTML:
stock CreatePickupWith3DText(PickupID, PickupType, Pos_X, Pos_Z, Pos_Y, Text[], DrawDistance, VirtualWorld)
{
	CreatePickup(PickupID, PickupType, Pos_X, Pos_Z, Pos_Y, -1);

	Create3DTextLabel(Text, -1, Pos_X, Pos_Z, Pos_Y, DrawDistance, VirtualWorld, 0);

	return 1;
}
Код HTML:
CreatePickupWith3DText(19130, 1, 1958.3783, 1343.1572, 15.3746, "Test", 15, 0);

Try this,

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;
}
And the usage for the function,

pawn Код:
CreatePickupWith3DText(1318, 1, 1825.503051, -1538.151855, 13.546875, 0, "Input text here"); // Change to fit your needs
Reply


Messages In This Thread
Tag mismatch - by rOps - 10.01.2015, 12:33
Re: Tag mismatch - by 1fret - 10.01.2015, 12:37
Re: Tag mismatch - by rOps - 10.01.2015, 12:39
Re: Tag mismatch - by FunnyBear - 10.01.2015, 12:42

Forum Jump:


Users browsing this thread: 2 Guest(s)