CreateDynamicCube ?
#1

Is there an existing function called CreateDynamicCube ?

If so how to get the minX, minY, minZ and maxX, maxY, maxZ (i've got no idea about this to get the coords)
Reply
#2

You can just create this yourself I suppose.
Just create a dynamic area, safe the id with an enum/variables linked with min/maxZ.
And create a stock.
Reply
#3

Streamer has all kinds of shapes :

pawn Код:
native CreateDynamicCircle(Float:x, Float:y, Float:size, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicCylinder(Float:x, Float:y, Float:minz, Float:maxz, Float:size, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicSphere(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicCuboid(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicCube(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worldid = -1, interiorid = -1, playerid = -1);
Reply
#4

I'm just asking this

pawn Код:
Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz
How do i get this coords, i know going in game and using the /save cmd gets the coords but in this there i have to provide 2 pos coords. I'm not getting the logic of that, what are these 2 coords
Reply
#5

Quote:
Originally Posted by Bondage
Посмотреть сообщение
I'm just asking this

pawn Код:
Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz
How do i get this coords, i know going in game and using the /save cmd gets the coords but in this there i have to provide 2 pos coords. I'm not getting the logic of that, what are these 2 coords
I never used it before, But I guess the minx,miny,minz are the bottom corner of the cube and the max coords are the above corner. (Should be in the another side of the bottom to create a cube).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)