Limit PlayerObjects? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Limit PlayerObjects? (
/showthread.php?tid=552596)
Limit PlayerObjects? -
Admigo - 25.12.2014
Hi,
Can anyone tell me what the Max Limit is of PlayerObjects?
Thanks
Admigo
Re: Limit PlayerObjects? -
M4D - 25.12.2014
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
Re: Limit PlayerObjects? -
Admigo - 25.12.2014
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?
Re: Limit PlayerObjects? -
M4D - 25.12.2014
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 ?
Re: Limit PlayerObjects? -
Lordzy - 25.12.2014
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.