29.11.2014, 12:08
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:
Insteadf of
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:
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
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(...
Code:
CreateDynamicObject(...
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;
}
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