Initial upload
Initial upload
This commit is contained in:
27
_module/nss/givechatcommands.nss
Normal file
27
_module/nss/givechatcommands.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//Put this script OnEnter
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
if (GetItemPossessedBy(oPC, "chatcommands")== OBJECT_INVALID)
|
||||
{
|
||||
CreateItemOnObject("chatcommands", oPC);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("Players who die in the arena will now ressurect in the arena on respawn.", oPC);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user