generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
18
_module/nss/base_onenter.nss
Normal file
18
_module/nss/base_onenter.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "habd_include"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_emote")))
|
||||
CreateItemOnObject("dmfi_pc_emote", oPC);
|
||||
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_dicebag")))
|
||||
CreateItemOnObject("dmfi_pc_dicebag", oPC);
|
||||
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_pc_follow")))
|
||||
CreateItemOnObject("dmfi_pc_follow", oPC);
|
||||
int nDM=GetIsDM(oPC);
|
||||
if(!GetIsObjectValid(GetItemPossessedBy(oPC,"dmfi_exploder")) &&
|
||||
nDM ==TRUE)
|
||||
CreateItemOnObject("dmfi_exploder", oPC);
|
||||
HABDGetDBOnClientEnter(GetEnteringObject());
|
||||
DelayCommand(6.0, HABDItemsOnClientEnter(GetEnteringObject()));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user