Module commit
Module commit.
This commit is contained in:
13
_module/nss/s_lib_start.nss
Normal file
13
_module/nss/s_lib_start.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
//object oBookshelf = GetNearestObjectByTag("searchlibrary",OBJECT_SELF);
|
||||
object oBookshelf = GetNearestObjectByTag("Bookshelf",OBJECT_SELF);
|
||||
object oPC = GetPCSpeaker();
|
||||
string sPCName = GetName(oPC);
|
||||
string sPlayerName = GetPCPlayerName(oPC);
|
||||
string sPubCDKey = GetPCPublicCDKey(oPC);
|
||||
string sFullID = sPCName + sPlayerName + sPubCDKey;
|
||||
|
||||
SetLocalInt(oBookshelf,"PCSearch",1);
|
||||
SetLocalString(oBookshelf,"PCID", sFullID);
|
||||
}
|
||||
Reference in New Issue
Block a user