23 lines
297 B
Plaintext
23 lines
297 B
Plaintext
|
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");
|
||
|
|
||
|
}
|