help /createzombie (creates object to your position)
#1

okei i built this object in MTA map editor

/imageshack/i/testzm.png/

and i have already created my command


Код:
if(strcmp(cmd, "/createzombie", true) == 0)
{
new Float:X; new Float:Y; new Float:Z;
GetPlayerPos(playerid,X,Y,Z);
CreateObject(2905,X,Y,Z,0, 0, 0);
CreateObject(2906,X,Y,Z,0, 0, 0);
CreateObject(2907,X,Y,Z,0, 0, 0);
CreateObject(2908,X,Y,Z,0, 0, 0);
return 1;
}
but my command makes all zombie objects in one position how can i make like the body is on foot and the head is on body etc...

help anybody?
Reply
#2

This is not possible as object are in 1 piece, with some objects you have to put them together.
Reply
#3

You have to change the Z positions, try to change the z value a little bit with that values...

GL.
Reply
#4

i mean like in the picture..

when i type /createzombie then it creates a zombie in my positions and it should be like on the pictures
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)