Initial upload
Initial upload
This commit is contained in:
22
_module/nss/wheeltalks2pc.nss
Normal file
22
_module/nss/wheeltalks2pc.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
string sDeny;
|
||||
|
||||
//Put this script OnUsed
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetGold(oPC) < 5000000)
|
||||
{
|
||||
sDeny="You cannot use the wheel at this time!!";
|
||||
|
||||
SendMessageToPC(oPC, sDeny);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ActionStartConversation(oPC, "wheelconv1");
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user