[BUG]EditObject
#1

When I'm trying to edit object my friend can't see editing process, and he can't when I done editing too...
Reply
#2

You need to use a code to move it, such as this one:

https://sampwiki.blast.hk/wiki/OnPlayerEditObject
Reply
#3

Can you give me an example?
Reply
#4

pawn Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
    if(!playerobject) // If this is a global object, move it for other players
    {
        if(!IsValidObject(objectid)) return;
        MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ);
    }
}
Reply
#5

Oh.. thx )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)