I looked at this a bit further. Per the DMFI installation documentation, you should be calling dmfi_onclienter in response to the module's OnClientEnter event. If you wish to make sure a player has the three player-level DMFI items, you'll need to append a few lines to the dmfi_onclienter script.
Put this code in the script, following the line that reads "dmfiInitialize(oUser);"
if (!GetIsDM(oUser))
{
string sItem;
sItem = "dmfi_pc_follow";
if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
{
CreateItemOnObject(sItem, oUser);
}
sItem = "dmfi_pc_dicebag";
if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
{
CreateItemOnObject(sItem, oUser);
}
sItem = "dmfi_pc_emote";
if (!GetIsObjectValid(GetItemPossessedBy(oUser, sItem)))
{
CreateItemOnObject(sItem, oUser);
}
}
Let me know if that doesn't fix it for you.
Modifié par tsunami282, 19 août 2010 - 01:50 .