CreateDynamicObject and CreateObject using both
#1

Hello everybody. I have big question. Can I use incognito's streamer function CreateDynamycObject and samp original function CreateObject both? If I have 10k+ incognitos objects, how much can I have CreateObject's ? Because with incognitos objects players can fall because objects load slowly... Or can I do something to prevent players from falling from incognito's objects? Streamer_TickRate(rate);? How much?
Reply
#2

I believe that 'CreateObject' allows to add 1k objects in a script.
Reply
#3

CreatObject has a limit of 1000 objects
so use incognitos
you can prevent the from felling like this
pawn Code:
stock SetPlayerPosEx(playerid,Float:X,Float:Y,Float:Z)
{
      SetPlayerPos(playerid,X,Y,Z);
      TogglePlayerControllable(playerid,0);
      SetTimerEx("UnfreezePlayer",2000, false, "i",playerid);
}
forward UnfreezePlayer(playerid);
public UnfreezePlayer(playerid)
{
    TogglePlayerControllable(playerid,1);
    return 1;
}
then when ever you change someones pos use
pawn Code:
SetPlayerPosEx(playerid,Float:X,Float:Y,Float:Z)
to set it. it will hold the player in the same pos for 2sec(you can change it).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)