Checking Object is loaded for the player
#1

Hello everyone,

I was thinking to add custom interiors in my game mode. So i thought that if a player's connection is lagging then the Objects will take time to load and it will take more time to load objects rather then in Teleporting him into the interior.

How can i check that a Particular Object is loaded a particular player? Is there any function or callback? Does the Icognito streamer has any type of function like this?

In case you know anything and can help me please reply. Help will be appreciated a lot.

Thank you
Ballu Miaa
Reply
#2

I found this native,provided by Incognito's streamer,I don't really know if it does what YOU wanna do,but I think it checks the object existance :
pawn Код:
native IsValidDynamicObject(objectid);
Reply
#3

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
I found this native,provided by Incognito's streamer,I don't really know if it does what YOU wanna do,but I think it checks the object existance :
pawn Код:
native IsValidDynamicObject(objectid);
I knew for the existence. I want to check if an object is loaded for a playerid or not? Is it possible , anyone?
Reply
#4

Well,I studied all the natives in Incgonito's Streamer,and there is NONE that has as params playerid,and objectid also,so there's no function like that,and also ******d it for you,but,other streamers aren't as good as Incognito's one,and if Ingonito's Streamer doesn't have such a function,then,fake chances to find one that has,or find it just as include or separate plugin...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)