SetPlayerDynamicObjectMaterialText
#1

Hi,

I get error because this is:

SetPlayerDynamicObjectMaterialText

More then 32 lenght, but then how i can set player object material text?

And

CreatePlayerDynamicObject

Undefing ...

I use icognito streamer, when i create with CreateDynamicObject.
Reply
#2

There isn't CreatePlayerDynamicObject. Use:
Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);
And change material text with SetDynamicObjectMaterialText.

eg.

Код:
new pObj[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    pObj[playerid] = CreateDynamicObject(966, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1, -1, playerid);
    SetDynamicObjectMaterialText(pObj[playerid], 0, "Some text");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)