[Map] [HELP] Map out of limits
#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


Messages In This Thread
[HELP] Map out of limits - by Warren8 - 27.11.2014, 10:36
Re : [HELP] Map out of limits - by Warren8 - 28.11.2014, 09:58
Re: [HELP] Map out of limits - by Rosey - 29.11.2014, 08:32
Re : [HELP] Map out of limits - by Warren8 - 29.11.2014, 10:17
Re: [HELP] Map out of limits - by knackworst - 29.11.2014, 12:08

Forum Jump:


Users browsing this thread: 3 Guest(s)