SA-MP Forums Archive
[HELP] Mapping? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Mapping? (/showthread.php?tid=113812)



[HELP] Mapping? - HotSauce - 16.12.2009

Ok So I have a map Pawno Code But I never learned how to put it in and stuff x:X I usally paid people to put stuff in after i script it in a fs


Re: [HELP] Mapping? - Levis - 16.12.2009

example:
CreateObject(1226, 3252.392334, -1957.259521, 14.066592, 0.0000, 0.0000, 91.8554);

1226 = Id of object
3252.392334 = coordinate X
-1957.259521 = coordinate y
14.066592 = this is how high or how low u want to put object
0.0000, 0.0000 = rotation
91.8554 = rotation

u have to play with this numbers ...


Re: [HELP] Mapping? - marharth - 16.12.2009

It is much easier to map with a map editor...
"no duh"
Try using MTAs map editor, or the sticked one


Re: [HELP] Mapping? - Jay_ - 16.12.2009

Call the CreateObject function with the relevant parameters in the area you want to show the object. For example if you wanted the object to show when the gamemode starts up, you would need to call it from OnGameModeInit.


Re: [HELP] Mapping? - HotSauce - 26.12.2009

I know all that, But idk where exactly to put the object's... in the pawno file ;x


Re: [HELP] Mapping? - Niixie - 26.12.2009

Under

pawn Code:
OnGameModeInit()

   CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);
modelid The Model ID you want to use.
Float:X The X coordinate.
Float:Y The Y coordinate.
Float:Z The Z coordinate.
Float:rX The X rotation.
Float:rY The Y rotation.
Float:rZ the Z rotation.

Understand?


Re: [HELP] Mapping? - Elmin - 26.12.2009

sore, you can put about 150 object, and then you will get crass.
You must have some object and veh. streamer


Re: [HELP] Mapping? - martyz-lithuania - 26.12.2009

Quote:
Originally Posted by Elmin
sore, you can put about 150 object, and then you will get crass.
You must have some object and veh. streamer
No, You can put 254 objects


Re: [HELP] Mapping? - marharth - 27.12.2009

Quote:
Originally Posted by martyz-lithuania
Quote:
Originally Posted by Elmin
sore, you can put about 150 object, and then you will get crass.
You must have some object and veh. streamer
No, You can put 254 objects
And even more with a streamer...

Either make a FS and put it under OnFilterScriptInit

Or just put it in the gamemode under OnGameModeInit