generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
10
_module/nss/create_weap4.nss
Normal file
10
_module/nss/create_weap4.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
string sStoreTag = "NW_STOREWEAP004";
|
||||
string sStoreRes = "nw_storeweap004";
|
||||
if (GetNearestObjectByTag(sStoreTag) == OBJECT_INVALID)
|
||||
{
|
||||
CreateObject(OBJECT_TYPE_STORE, sStoreRes, GetLocation(OBJECT_SELF));
|
||||
}
|
||||
SetLocalString(GetPCSpeaker(), "STORE", sStoreTag);
|
||||
}
|
||||
Reference in New Issue
Block a user