Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

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;
    DestroyDynamicObject(VipText[playerid]);
    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;
}

 

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.