Jump to content
  • 0

Problema EditDynamicObject



Salut, deci vreau sa fac un sistem pentru vip name si doresc sa editez obiectul atasat cu EditDynamicObject dar nu merge sa mut obiectul, imi poate explica cineva de ce?

CMD:attach(playerid, params[]) {
    new name[40];
    objmodel = 19327;
    VipText[playerid] = CreateDynamicObject(objmodel, -2597.0762, -2638.4270, -5.3536, -87.6999, 90.4001, -87.1805);
    format(name, sizeof(name), "Test");
    SetDynamicObjectMaterialText(VipText[playerid], 0, name, OBJECT_MATERIAL_SIZE_256x128, "Arial", 25, 1, -1, 0, 1);
    AttachDynamicObjectToVehicle(VipText[playerid], GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    return 1;
CMD:edit(playerid, params[]) {
    EditDynamicObject(playerid, VipText[playerid]);
    return 1;


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.