Variable returns false id
#1

Whenever I check a variable which I created: ( new Objects[1000] ) and create an object using it ( Objects[0] = CreateObject.... ) if I printf("ObjectID: %d",Objects[0]) it returns ObjectID: 13. Why?
Reply
#2

CreateObject returns object ID assigned by the server to that object, so 13 is the object ID of that object.
Reply
#3

Quote:
Originally Posted by Tamy
Посмотреть сообщение
CreateObject returns object ID assigned by the server to that object, so 13 is the object ID of that object.
It's not as I didn't create any other objects with that variable before.

Edit: If I do Objects[1] = CreateObject(... , Objects[2] = CreateObject(...it returns me 1 and 2.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)