[Help] Create3DTextLabel Errors!
#1

Hello when I compile my script I get 4 errors that I dont have a clue of why they are showing up? If anyone could help it would very much be appreciated!

Код:
if(ItemInfo[i][ItemPosX] == 0 && ItemInfo[i][ItemPosY] == 0 && ItemInfo[i][ItemPosZ] == 0) 
            { 
                ItemInfo[i][ItemModel] = Model; 
                ItemInfo[i][ItemAmount] = Amount; 
                ItemInfo[i][ItemPosX] = X; 
                ItemInfo[i][ItemPosY] = Y; 
                ItemInfo[i][ItemPosZ] = Z; 
                ItemInfo[i][ItemRotX] = RX; 
                ItemInfo[i][ItemRotY] = RY; 
                ItemInfo[i][ItemRotZ] = RZ; 
                ItemInfo[i][ItemVWorld] = world; 
                ItemInfo[i][ItemInterior] = interior; 
          (43) Label[i] = Create3DTextLabel("Item", 0x008080FF, 200.68184, 1910.63416, 16.71287, 5.0,0,0); 
                DropObject[i] = CreateObject(Model, X, Y, Z,RX,RY,RZ, world); 
                return 1;
Here are the error messages I get when I compile it.

lootsystem.h(43) : error 012: invalid function call, not a valid address
lootsystem.h(43) : error 070: rational number support was not enabled
lootsystem.h(43) : error 029: invalid expression, assumed zero
lootsystem.h(43) : fatal error 107: too many error messages on one line
Reply
#2

Are you sure you've defined Label? I mean have you done new Label[MAX_PLAYERS]; ?
Reply
#3

Quote:
Originally Posted by Kimossab
Посмотреть сообщение
Are you sure you've defined Label? I mean have you done new Label[MAX_PLAYERS]; ?
Yes I have done that and the errors still show up.
Reply
#4

Bump! please can anyone help me with this??
Reply
#5

Are you sure its:
pawn Код:
new Text3D:Label[MAX_PLAYERS]
Because Label needs Text3D variable.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)