[HELP] Mapping?
#1

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
Reply
#2

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 ...
Reply
#3

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

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.
Reply
#5

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

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?
Reply
#7

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

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
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)