EditObject on Streamer Objects?
#1

Maybe I missed something somewhere, but I was working on a script to edit ATM's and noticed that EditObject doesn't support Streamer objects.

Example.
pawn Код:
new object;
public OnGameModeInit()
{
    object = CreateDynamicObject(2942, 0, 0, 2, 0, 0, 0, _, _, _);
    return 1;
}
CMD:obj(playerid, params[])
{
    EditObject(playerid, object);
    return 1;
}
Only works with non-streamer objects.
Reply
#2

Try this
Код:
new object;
public OnGameModeInit()
{
    object = CreateDynamicObject(2942, 0, 0, 2, 0, 0, 0, _, _, _);
    return 1;
}
CMD:obj(playerid, params[])
{
    EditDynamicObject(playerid, object);
    return 1;
}
Reply
#3

Completely overlooked the streamer documentation. Thanks
Reply
#4

Your Welcome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)