Attached object dont show
#1

Hello.
When I use SetPlayerAttachedObject, the object don't show (like invisible)

Code:
new tc_Caps[][]=
{
    {"Cap 1", 19162},
    {"Cap 2", 19161}
};
List of objects:
Code:
for(new i, z = sizeof tc_Caps; i < z; i++)
{
    if !i *then
        format(items, 50, "%s", tc_Caps[0][0]);
    else
        format(items, 50, "\n%s", tc_Caps[i][0]);
    strcat(string, items);
}
SPD(playerid, d_25, DIALOG_STYLE_LIST, #obj, string, #ok, #close);
And then:
Code:
if dialogid == d_25 *then
{
    SetPlayerAttachedObject(playerid, 6+listitem, tc_Caps[listitem][1], 2);
    EditAttachedObject(playerid, 6+listitem);
}
I can see edition mode, but I can't see the object
Reply
#2

Help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)