how to attach an object to an object by a command ?
#6

Quote:
Originally Posted by Jhony_Blaze
Посмотреть сообщение
Sure this is how I tried to make it:


Код:
CMD:bay1o(playerid, params[])
{
    AttachObjectToObject(1238, 1262, -269.2437, 1187.3073, 23.1069, 0.0000, 0.0000, 0.0000, 1);
    SendClientMessage(playerid, COLOR_GREEN,"Bay 1 is open");
    MovePlayerObject(playerid, Gate1[playerid], -254.7196, 1209.9005, 16.3944, 1);

    return 1;
}
This
pawn Код:
AttachObjectToObject(1238, 1262, -269.2437, 1187.3073, 23.1069, 0.0000, 0.0000, 0.0000, 1);
The first 2 parameters is objectid, not modelid.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)