Help please
#1

How to make a object, increase the size of a object, and place it in my map?
Reply
#2

You have to use the following function:

pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
You can't increase the size of an object as far as I am aware. But if you would like to do some mapping then take a look at JernejL's Map Editior

But if you already have a MTA .map file you can always head to ConvertFFS and convert it.
Reply
#3

Bicentric, can you show an example of a new object with the code you've given?
Reply
#4

The only objects that can be scaled up are attachable objects.
Reply
#5

What do you mean by attachable objects?
Reply
#6

Reply
#7

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

See the scale parameters.
Reply
#8

So, impossible to make new objects which is not in the SA:MP objects list?
Reply
#9

Quote:
Originally Posted by Vinnie Robardo
Посмотреть сообщение
So, impossible to make new objects which is not in the SA:MP objects list?
You can experiment with:

https://sampwiki.blast.hk/wiki/SetObjectMaterial

and try if you can somehow cheat what you want.
Reply
#10

Quote:
Originally Posted by Vinnie Robardo
Посмотреть сообщение
Bicentric, can you show an example of a new object with the code you've given?
The following code will add 'big blue trash bin with flies' in the middle of the map. I increase the Z cord because it will be under the map if it was set to '0'.

pawn Код:
CreateObject(1236, 0.000, 0.000, 5.000, 0.000, 0.000, 0.000, 300.00);
Normally, 'CreateObject' functions should be called when the script is initialized, so they're commonly called on the callback 'OnGameModeInit'.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)