Limit PlayerObjects?
#1

Hi,

Can anyone tell me what the Max Limit is of PlayerObjects?

Thanks
Admigo
Reply
#2

CreatePlayerObject wiki: https://sampwiki.blast.hk/wiki/CreatePlayerObject
Wiki: return INVALID_OBJECT_ID if the object limit (MAX_OBJECTS) was reached
So , open samp include file and see what MAX_OBJECTS is defined. (Because i'm on mobile and i can't see samp include)
I think its 1000
Reply
#3

Quote:
Originally Posted by M4D
Посмотреть сообщение
CreatePlayerObject wiki: https://sampwiki.blast.hk/wiki/CreatePlayerObject
Wiki: return INVALID_OBJECT_ID if the object limit (MAX_OBJECTS) was reached
So , open samp include file and see what MAX_OBJECTS is defined. (Because i'm on mobile and i can't see samp include)
I think its 1000
But what if you create a object for 2 players will that count as 2 ObjectIDs?
Example if i create 100 objects for each player it will be a problem if i have more then 10 players on the server?
Reply
#4

I'm not sure but i think you can create 1000 object per player like player textdraws (i'm not sure)

But why you don't use an object streamer ?
Reply
#5

Quote:
Originally Posted by Admigo
Посмотреть сообщение
But what if you create a object for 2 players will that count as 2 ObjectIDs?
Example if i create 100 objects for each player it will be a problem if i have more then 10 players on the server?
Yes, it will be a problem. It doesn't matter whether the objects created are player objects or global objects, whenever an object is created, it's counted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)