EditObject(playerid, object) problem
#1

I have problem

I have that command
new NumeObject;
numeObject = CreateObject(radius, X, Y, Z, 0.0, 0.0, 0.0);
EditObject(playerid,numeObject);


When i finish My friend dont see object And he dont see when i editing only me can see when i editing object and save in that position whY

Sorry for bad english
Reply
#2

pawn Код:
new NumeObject;
NumeObject = CreateObject(radius, X, Y, Z, 0.0, 0.0, 0.0);
EditObject(playerid,NumeObject);
By the way what is EditObject?
Reply
#3

pawn Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
    if(response == EDIT_RESPONSE_FINAL)
    {
        MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ);
    }
    return 1;
}
@Matz, EditObject was a function that was added in 0.3e.
https://sampwiki.blast.hk/wiki/OnPlayerEditObject
Reply
#4

@clarencecuzz Oh I missed it because of I don't use it
Reply
#5

Can give me an example how use public?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)