[Map] [HELP] Map out of limits
#1

Hey,

I made a map last night but it is too high, it's out of limits so thats does not work properly when i tested it.

I wanna know how im supposed to do to get down all the objects at the good height at the same time ?

Thanks for helping
Reply
#2

Com'on guys, nobody could help wit that ?
Reply
#3

There is a site for MTA map to change location but I forgot that site
Ill reply when I find out
Reply
#4

Okay thx man
Reply
#5

Open a new Pawn, clear all the code that's in it, paste your map code in the pawnfile.
Next you click on the the replace text button on the top of the script, and there you replace Create with Move
So that your map code will now be like this:
Code:
MoveMyDynamicObject(...
Insteadf of
Code:
CreateDynamicObject(...
Then copy this code and paste it in your Map filterscript, where you place all your maps.

Next make a stock function on the bottom of your map filterscript:

pawn Code:
stock MoveMyDynamicObject( modelid, Float: x, Float: y, Float: z, Float: rx, Float: ry, Float: rz, worldid = -1, interiorid = -1, playerid = -1, Float: streamdistance = 300.0, Float: drawdistance = 300.0 )
{
    CreateDynamicObject( modelid, x, y, z - 1000, rx, ry, rz, worldid, interiorid, playerid, streamdistance );
    return 1;
}
Now compile the script
And enter the server and you'll notice your maаp has been moved down with 1000 x values.
This is how I move maps
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)