Dynamic Object Arrays
#7

Quote:
Originally Posted by Яσскѕтая
View Post
Not sure if this is right but you could try
pawn Code:
new Objects[x]
{
     {objectid, argument, argument...},
     {objectid, argument, argument...} // Last one doesnt have a , all others do.
};
Then do like
pawn Code:
new rand = random(sizeof(randomSpawns));
CreateDynamicObject(Objects[rand][0], Objects[rand][1], Objects[rand][2] );
If that is what you are wanting. (Sorry if it's not im really not fallowing along with you :\)
Yes, that is what I am looking for. However, I need to be able to define what each "argument" is.

Quote:
Originally Posted by Y_Less
View Post
There is also an MTA map loader fully integrated in to YSI, which also has object streaming and XML reading.
Oh, thanks Y_Less. I think I will give YSI a shot, I have never really thought much about using it.

Quote:
Originally Posted by Joe_
View Post
A friend of mine named Kyosaur made a 'MTA MAP LOADER' (Just a snippet on the XML Thread) to load MTA maps, and convert them into SA-MP.

So you could just map the objects, save them (using MTA 1.0 ofcourse), then place them somewhere, and load them with the loader, you'll have to make an array listing every map name, though.

https://sampforum.blast.hk/showthread.php?tid=150755&page=3

It's on the 3rd page, 5 posts down, you'll have to figure out some stuff of your own though.
Well, its not really a streamer or a map loader I am looking for, but I will take a look. It may come in handy for the future.
Reply


Messages In This Thread
Dynamic Object Arrays - by Scenario - 21.07.2010, 08:31
Re: Dynamic Object Arrays - by Яσскѕтая - 21.07.2010, 08:33
Re: Dynamic Object Arrays - by Scenario - 21.07.2010, 08:40
Re: Dynamic Object Arrays - by Joe_ - 21.07.2010, 08:58
Re: Dynamic Object Arrays - by Яσскѕтая - 21.07.2010, 09:12
Re: Dynamic Object Arrays - by Joe_ - 21.07.2010, 10:11
Re: Dynamic Object Arrays - by Scenario - 21.07.2010, 10:33
Re: Dynamic Object Arrays - by Яσскѕтая - 21.07.2010, 10:45
Re: Dynamic Object Arrays - by Cameltoe - 21.07.2010, 10:46
Re: Dynamic Object Arrays - by Scenario - 21.07.2010, 11:27

Forum Jump:


Users browsing this thread: 1 Guest(s)