Las Venturas Playground
Welcome! - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Welcome! (/thread-23184.html)



Welcome! - Matthias - 04-24-2010

Hello,

If you're reading this, it means you're accepted as LVP Mapper, congratulations!

Follow this guide when creating a map for LVP:

1) Create the map with any editor you like (MTA/Medit..)
2) Go to http://www.convertffs.com and convert your objects to the CreateObject format.
3) Open up Notepad, press CTRL + H and change 'CreateObject' to 'CreateDynamicObject'.
4) Change the following line:

Code:
CreateMappedZone(mapName[], Float:spawnX, Float:spawnY, Float:spawnX, Float:spawnAng=0.0, Float:checkpointX=0.0, Float:checkpointY=0.0, Float:checkpointZ=0.0, maxmapplayers=-1, bunnytrack=0)

Parameters explained:

mapName[] - The name of the map "Airport Jump" for example.
Float:spawnX - X spawn coordinate of the map, 0.0 for example.
Float:spawnY - Y spawn coordinate of the map, 0.0 for example.
Float:spawnZ - Z spawn coordinate of the map, 0.0 for example.
Float:spawnAng - The spawn angle of the map [Optional]
Float:checkpointX - X coord of the checkpoint [Optional]
Float:checkpointX - Y coord of the checkpoint [Optional]
Float:checkpointX - Z coord of the checkpoint [Optional]
maxmapplayers - Max players in a map, -1 is no maximum. [Optional]
bunnytrack - Allow players to teleport with a car to the map. [Optional]

5) Paste it all into one file with a proper index.
6) Post it in this board!

Example file:

http://lasventurasplayground.pastebin.com/ArD8mRH1

Matthias