[Include] Create your own surface with just one line (CreateObjectSurface)
#21

Very nice, good job man.
Svaka čast.
Reply
#22

It is amazing. I want to use it. I read it for 20 minutes and want to create a surface like in 2nd picture but don't really understood how to create it . Are the surface starting and ending points same as gang zone start and end points (one corner and opposite corner)? xD
Reply
#23

Dafaq, this sa-mp?
Reply
#24

Wow, pretty amazing! I've always wondered here and there trying to find an include to make surfaces, but won't. Could have made one myself but lack of.... :P. I really love this! Will surely be testing it and letting you know!
Reply
#25

Quote:
Originally Posted by Pottus
Посмотреть сообщение
I'm going to recommend that you add the ability to set surface rotations as well it's actually easier than it sounds.
Perhaps in some other update, thanks for the idea though.


Quote:
Originally Posted by Ygzeb
Посмотреть сообщение
Great job!

I wanted to ask you (Correlli) if I can use your include for an small map include I am working on and I will release soon? Obviously respecting your credits.
Of course, that's why I released it - so others can use it.


Quote:
Originally Posted by De4dpOol
Посмотреть сообщение
It is amazing. I want to use it. I read it for 20 minutes and want to create a surface like in 2nd picture but don't really understood how to create it . Are the surface starting and ending points same as gang zone start and end points (one corner and opposite corner)? xD
Yep, you got it - minimum and maximum X and Y or maximum and minimum X and Y. Which one you enter first is entirely up to you.

As for the second picture, here's the code:
pawn Код:
new
        s_id = CreateSurface(18752, 215.0, 215.0, 300.0, -1000.0, -1000.0, 1000.0, 1000.0, .d_stream = 1000.0, .d_draw = 1000.0);
SetSurfaceTexture(s_id, 0, 17944, "lngblok_lae2", "white64bumpy");
This will create 100 objects from -1000.0, -1000.0 to 1000.0, 1000.0 position on height 300.0 with streaming and drawing distance of 1000.0. The material is white snow texture. Change the settings how you want them.


@Others: Thanks, I'm glad you like it. I hope it'll fit your needs.
Reply
#26

Finally seeing something unique on SA-MP Forums. Really great work there.
Reply
#27

Really awesome! Great job.
Reply
#28

Awesome! Great work
Reply
#29

Y U NO ADD SetSurfaceMaterialText!

I like to use SetObjectMaterialText for solid colors and shit.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)