Initial Commit
Initial Commit
This commit is contained in:
17
_module/nss/craft_isbullet.nss
Normal file
17
_module/nss/craft_isbullet.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oItem = GetFirstItemInInventory(oPC);
|
||||
int nValue;
|
||||
while (GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetLocalInt(oItem, "Prototype") == TRUE)
|
||||
{
|
||||
if (GetLocalString(oItem, "Type") == "Ammo" && GetTag(oItem) == "NW_WAMBU001") return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
oItem = GetNextItemInInventory(oPC);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user