Pickup With 3D Text
#1

Код:
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
    CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
    Create3DTextLabel(text[],0xFFFFFFFF,Float:X,Float:Y,Float:Z+0.75,40.0,0); //error 029: invalid expression, assumed zero
    return 1;
}
There is some problem with text variable but I cant find what problem. THX for help
Reply
#2

Код:
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
    CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
    Create3DTextLabel(text[],0xFFFFFFFF,Float:X,Float:Y,Float:Z+0.75,40.0,0); //error 029: invalid expression, assumed zero
    return 1;
}
pawn Код:
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[])
{
    CreatePickup( model, type, X, Y, Z, Virtualworld );
    Create3DTextLabel( text, 0xFFFFFFFF, X, Y, Z+0.75, 40.0, 0 );
    return 1;
}
Try that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)