Create Object Question
#1

How do I create an object (boombox) that will be created AT A PERSONS FEET, and later that object can be removed?

This will be for my boombox script in my GM.
Reply
#2

On ur boom box CMD write:
pawn Код:
new boombox = createobject(id,X,Y+1,Z); //below player's Feet!
and for removing simply use
DestroyObject(boombox);

hope it helps
Reply
#3

What would I do so its infront of a player on the ground next to their feet?

And +1 Rep
Reply
#4

new boombox = createobject(id,X+1,Y+1,Z);


just try changing stuff, im not so sure, but i think this one will be a lil ahead to the player's feet ^
Reply
#5

new Float, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
new boombox = createobject(id,x,y+1,z);

Like this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)