页游SF|页游咯发布站
公益性信息网站,请自行辨别真伪
网站首页
取名符号
技术文章
 
烈焰赌博系统v1.1指间飘零原创脚本代码
文章作者:kevels 文章来源:页游SF|页游咯发布站 更新时间:2016-3-13 21:47:47

function OnTimeEvent(hour,min)
local t = tonumber(os.date("%M%S",os.time()));
    if t == 0300 or t == 0600 or t == 0900 or t == 1200 or t == 1500 or t == 1800   or t == 2100     or t == 2400     or t == 2700    or t == 3000     or t == 3300      or t == 3600    or t == 3900       or t == 4200   or t == 4500        or t == 4800     or t == 5100     or t == 5400     or t == 5700     or t == 0000  then
  g_set_param(15,0);
        g_alert("<font color='#FF00FF'>现在为押注时间,有想要和我赌一赌的玩家速度过来与我赌上一睹,看看到底是谁技高一筹~~~~</font>",2,1000,0,1);
 
 elseif t == 0500 or t == 0800 or t == 1100 or t == 1400 or t == 1700 or t == 2000   or t == 2300     or t == 2600     or t == 2900    or t == 3200     or t == 3500      or t == 3800    or t == 4100    or t == 4400   or t == 4700        or t == 5000     or t == 5300     or t == 5600     or t == 5900     or t == 0200  then
 local kj = math.random(1,6);
     g_set_param(14,kj);
     g_set_param(15,1);
  g_broadcast(14,0,0,"此次骰子号码为【<font color='#FF0000'>"..kj.."</font>】,请压中的玩家在一分钟内领奖,否则过期无效");
  g_alert("<font color='#FF00FF'>此次骰子号码为</font><font color='#FF0000'>【"..kj.."】</font><font color='#FF00FF'>,请压中的玩家在一分钟内领奖,否则过期无效~~~~</font>",2,1000,0,1);

 end 
end 
function ontalk1921(npc,event,player)
local kj1 = g_get_param(14);
local t1 = g_get_param(15);

 player:echo(0,npc:GetLowGUID(),[[
<font color="#FF00FF">=================<font color="#FFFFFF">版本号:<font color="#FF0000">【1.1】</font></font>================</font>
<font color="#FF0000">开奖结果:</font><font color="#FF00FF">【]].. kj1..[[】</font>    <font color="#FF0000">状态:</font><font color="#FF00FF">【]].. t1..[[】</font><font color="#FFFF00">(0为押注,1为开奖)</font>
<font color="#FFFFFF">为了防止作弊,特设置购彩记录179秒清除功能
您的购彩清除剩余时间为</font><font color="#FF00FF">【]].. player:get_timer(5)..[[】</font><font color="#FFFFFF">秒,若上轮购彩后未中奖等待自动清除上轮购彩信息或</font><a href='event:M2402,2'><font color="#FF0000">点我清除上轮购彩信息</font></a>
<font color="#FF00FF">================================================</font>
<font color="#FF00FF">【单】:</font><a href='event:M2402,101'>【1注】</a><a href='event:M2402,102'>【5注】</a><a href='event:M2402,103'>【10注】</a><a href='event:M2402,104'>【50注】</a><a href='event:M2402,105'>【100注】</a>
<font color="#FF00FF">【双】:</font><a href='event:M2402,201'>【1注】</a><a href='event:M2402,202'>【5注】</a><a href='event:M2402,203'>【10注】</a><a href='event:M2402,204'>【50注】</a><a href='event:M2402,205'>【100注】</a>
<font color="#FF00FF">【大】:</font><a href='event:M2402,301'>【1注】</a><a href='event:M2402,302'>【5注】</a><a href='event:M2402,303'>【10注】</a><a href='event:M2402,304'>【50注】</a><a href='event:M2402,305'>【100注】</a>
<font color="#FF00FF">【中】:</font><a href='event:M2402,401'>【1注】</a><a href='event:M2402,402'>【5注】</a><a href='event:M2402,403'>【10注】</a><a href='event:M2402,404'>【50注】</a><a href='event:M2402,405'>【100注】</a>
<font color="#FF00FF">【小】:</font><a href='event:M2402,501'>【1注】</a><a href='event:M2402,502'>【5注】</a><a href='event:M2402,503'>【10注】</a><a href='event:M2402,504'>【50注】</a><a href='event:M2402,505'>【100注】</a>
<font color="#FF00FF">【1】:</font><a href='event:M2402,1101'>【1注】</a><a href='event:M2402,1102'>【5注】</a><a href='event:M2402,1103'>【10注】</a><a href='event:M2402,1104'>【50注】</a><a href='event:M2402,1105'>【100注】</a>
<font color="#FF00FF">【2】:</font><a href='event:M2402,1201'>【1注】</a><a href='event:M2402,1202'>【5注】</a><a href='event:M2402,1203'>【10注】</a><a href='event:M2402,1204'>【50注】</a><a href='event:M2402,1205'>【100注】</a>
<font color="#FF00FF">【3】:</font><a href='event:M2402,1301'>【1注】</a><a href='event:M2402,1302'>【5注】</a><a href='event:M2402,1303'>【10注】</a><a href='event:M2402,1304'>【50注】</a><a href='event:M2402,1305'>【100注】</a>
<font color="#FF00FF">【4】:</font><a href='event:M2402,1401'>【1注】</a><a href='event:M2402,1402'>【5注】</a><a href='event:M2402,1403'>【10注】</a><a href='event:M2402,1404'>【50注】</a><a href='event:M2402,1405'>【100注】</a>
<font color="#FF00FF">【5】:</font><a href='event:M2402,1501'>【1注】</a><a href='event:M2402,1502'>【5注】</a><a href='event:M2402,1503'>【10注】</a><a href='event:M2402,1504'>【50注】</a><a href='event:M2402,1505'>【100注】</a>
<font color="#FF00FF">【6】:</font><a href='event:M2402,1601'>【1注】</a><a href='event:M2402,1602'>【5注】</a><a href='event:M2402,1603'>【10注】</a><a href='event:M2402,1604'>【50注】</a><a href='event:M2402,1605'>【100注】</a>
<font color="#FF00FF">================================================</font>
<u><a href='event:M2402,100'><font color='#FF0000'>★玩法介绍★</font></a></u>   <u><font color='#FFFF00'>★每注1W元宝★</font></u>  <u><a href='event:M2402,20'><font color="#FF0000">【中奖啦,领奖】</font></a></u>
]]);
end
function ontalk1921_100(npc,event,player)
 player:echo(0,npc:GetLowGUID(),[[
#&talk_line#&
<font color='#FF0000'>★玩法介绍★</font><font color='#79FF79'>每次开奖为一个骰子,开奖数字为1-6随机。玩家可以压数字(6倍)、大中小(3倍)、单双(2倍),开奖周期3分钟,前2分钟可以投注,后面一分钟领奖,请及时领取,等下轮开奖清空购奖数据</font>
#&talk_line#&
<font color='#FF0000'>★更新介绍★</font><font color='#FFFF00'>新增玩法,玩家可以自行选择投注倍数进行投注,目前投注倍数为:【1倍】、【5倍】、【10倍】、【50倍】、【100倍】,玩家可根据自身需求选择投注倍数,限定每轮只能投注一次。</font>
#&talk_line#&
<font color='#FF0000'>★简单攻略★</font><font color='#FFFFFF'>服务器设置可以自己清除购奖信息记录,不仅仅是能清除上轮的购彩信息,还能清除本轮的购彩信息,这就给大家一个可以后悔买错号,或者点错买错号的机会。大家要善于利用这一功能哦,不过清除购彩信息后,已购彩的元宝是不会返还的,就当做是后悔药费吧~~~~~~</font>
<font color="#FF0000">PS:本程序只为娱乐,切勿用于非法用途,以此产生的任何后果本人概不负责!</font>
                                       <a href='event:M2402,0'>返回上页</a>
]]);
end
function ontalk1921_2(npc,event,player)
     player:alert(10,0,0,"清除上轮购彩信息成功,请您选择自己喜欢的号码投注吧,祝您中奖~~~~");
     player:set_timer(5,0);
  player:set_param(220,0);
  player:set_param(221,0);
  player:set_param(222,0);
     ontalk1921(npc,0,player,0);
end
function ontalk1921_101(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压单成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,11);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_102(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压单成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,11);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_103(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压单成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,11);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_104(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压单成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,11);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_105(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压单成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,11);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_201(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压双成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,12);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_202(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压双成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,12);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_203(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压双成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,12);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_204(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压双成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,12);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_205(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压双成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,12);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_301(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压大成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,21);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_302(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then 
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压大成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,21);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_303(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压大成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,21);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_304(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压大成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,21);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_305(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压大成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,21);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_401(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压中成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,22);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_402(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压中成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,22);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_403(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 100000 then 
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压中成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,22);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_404(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then 
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压中成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,22);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_405(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压中成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,22);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_501(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压小成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,23);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_502(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压小成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,23);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_503(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压小成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,23);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_504(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压小成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,23);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_505(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压小成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,23);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1101(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【1】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,1);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1102(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【1】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,1);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1103(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【1】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,1);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1104(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【1】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,1);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1105(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【1】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,1);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1201(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【2】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,2);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1202(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【2】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,2);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1203(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【2】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,2);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1204(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【2】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,2);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1205(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【2】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,2);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1301(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【3】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,3);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1302(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【3】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,3);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1303(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【3】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,3);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1304(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【3】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,3);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1305(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【3】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,3);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1401(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 10000 then 
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【4】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,4);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1402(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【4】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,4);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1403(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【4】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,4);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1404(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【4】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,4);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1405(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【4】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,4);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1501(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【5】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,5);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1502(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【5】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,5);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1503(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【5】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,5);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1504(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【5】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,5);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1505(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【5】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,5);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1601(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 10000 then
     player:sub_vcoin(10000);
     player:alert(10,0,0,"压【6】成功~,压1注,扣除10000元宝~~~");
     player:set_param(220,6);
  player:set_param(221,1);
  player:set_param(222,1);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有10000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end
function ontalk1921_1602(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 50000 then
     player:sub_vcoin(50000);
     player:alert(10,0,0,"压【6】成功~,压5注,扣除50000元宝~~~");
     player:set_param(220,6);
  player:set_param(221,1);
  player:set_param(222,5);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有50000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1603(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 100000 then
     player:sub_vcoin(100000);
     player:alert(10,0,0,"压【6】成功~,压10注,扣除100000元宝~~~");
     player:set_param(220,6);
  player:set_param(221,1);
  player:set_param(222,10);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有100000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1604(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then 
   if player:get_vcoin() >= 500000 then
     player:sub_vcoin(500000);
     player:alert(10,0,0,"压【6】成功~,压50注,扣除50W元宝~~~");
     player:set_param(220,6);
  player:set_param(221,1);
  player:set_param(222,50);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有500000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

function ontalk1921_1605(npc,event,player)
 if g_get_param(15) == 0 then        
  if player:get_param(221) ==0 then
   if player:get_vcoin() >= 1000000 then
     player:sub_vcoin(1000000);
     player:alert(10,0,0,"压【6】成功~,压100注,扣除100W元宝~~~");
     player:set_param(220,6);
  player:set_param(221,1);
  player:set_param(222,100);
     player:set_timer(5,179);
     ontalk1921(npc,0,player,0);
  else
  player:alert(10,0,0,"你都没有1000000元宝,还想来押注???!!!");
  end
  else
  player:alert(10,0,0,"您已经押过注了,下次再想多次投注扣你元宝哦~~~");
  end
 else
 player:alert(10,0,0,"现在是领奖时间,不能下注,每小时从0分开始每隔3分钟开启一轮新的抽奖");
 end
 ontalk1921(npc,0,player,0);
end

 


function ontalk1921_20(npc,event,player)
if g_get_param(15) == 1 then
 player:set_param(221,0);
 player:set_timer(5,0);
 local kj1 = g_get_param(14);
 local ds,dx = 0,0;


 if kj1 == 1 or kj1 ==3 or kj1 == 5 then
     ds = 11;
 else
    ds = 12;
 end
 if kj1 == 1 or kj1 == 2 then
    dx = 23;
 elseif kj1 ==3 or kj1 == 4 then
    dx = 22;
 elseif kj1 ==5 or kj1 == 6 then
    dx = 21;
 end
  if player:get_param(220) == kj1 then
  if player:get_param(222) == 1 then
     player:add_vcoin(60000);
  player:alert(11,0,0,"恭喜您压中“点数”中奖6倍彩金1注共计6W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>6W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(300000);
  player:alert(11,0,0,"恭喜您压中“点数”中奖6倍彩金5注共计30W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>30W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(600000);
  player:alert(11,0,0,"恭喜您压中“点数”中奖6倍彩金10注共计60W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>60W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(3000000);
  player:alert(11,0,0,"恭喜您压中“点数”中奖6倍彩金50注共计300W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>300W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中点数</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【300W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(6000000);
  player:alert(11,0,0,"恭喜您压中“点数”中奖6倍彩金100注共计600W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>600W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中点数</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【600W】</font>");
  end
 elseif player:get_param(220) == dx and player:get_param(220)==21 then
    if player:get_param(222) == 1 then
     player:add_vcoin(30000);
  player:alert(11,0,0,"恭喜您压中“大”中奖3倍彩金1注共计3W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>3W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(150000);
  player:alert(11,0,0,"恭喜您压中“大”中奖3倍彩金5注共计15W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>15W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(300000);
  player:alert(11,0,0,"恭喜您压中“大”中奖3倍彩金10注共计30W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>30W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(1500000);
  player:alert(11,0,0,"恭喜您压中“大”中奖3倍彩金50注共计150W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>150W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【150W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(3000000);
  player:alert(11,0,0,"恭喜您压中“大”中奖3倍彩金100注共计300W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>300W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【300W】</font>");
  end
 elseif player:get_param(220) == dx and player:get_param(220)==22 then
     if player:get_param(222) == 1 then
     player:add_vcoin(30000);
  player:alert(11,0,0,"恭喜您压中“中”中奖3倍彩金1注共计3W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>3W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(150000);
  player:alert(11,0,0,"恭喜您压中“中”中奖3倍彩金5注共计15W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>15W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(300000);
  player:alert(11,0,0,"恭喜您压中“中”中奖3倍彩金10注共计30W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>30W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(1500000);
  player:alert(11,0,0,"恭喜您压中“中”中奖3倍彩金50注共计150W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>150W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【150W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(3000000);
  player:alert(11,0,0,"恭喜您压中“中”中奖3倍彩金100注共计300W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>300W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【300W】</font>");
  end
 elseif player:get_param(220) == dx and player:get_param(220)==23 then
     if player:get_param(222) == 1 then
     player:add_vcoin(30000);
  player:alert(11,0,0,"恭喜您压中“小”中奖3倍彩金1注共计3W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>3W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(150000);
  player:alert(11,0,0,"恭喜您压中“小”中奖3倍彩金5注共计15W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>15W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(300000);
  player:alert(11,0,0,"恭喜您压中“小”中奖3倍彩金10注共计30W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>30W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(1500000);
  player:alert(11,0,0,"恭喜您压中“小”中奖3倍彩金50注共计150W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>150W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【150W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(3000000);
  player:alert(11,0,0,"恭喜您压中“小”中奖3倍彩金100注共计300W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>300W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中大小</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【150W】</font>");
  end
 elseif player:get_param(220) == ds and player:get_param(220)==11 then
     if player:get_param(222) == 1 then
     player:add_vcoin(20000);
  player:alert(11,0,0,"恭喜您压中“单”中奖2倍彩金2注共计2W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>2W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(100000);
  player:alert(11,0,0,"恭喜您压中“单”中奖2倍彩金5注共计10W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>10W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(200000);
  player:alert(11,0,0,"恭喜您压中“单”中奖2倍彩金10注共计20W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>20W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(1000000);
  player:alert(11,0,0,"恭喜您压中“单”中奖2倍彩金50注共计100W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>100W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中单双</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【100W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(2000000);
  player:alert(11,0,0,"恭喜您压中“单”中奖3倍彩金100注共计200W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>200W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中单双</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【200W】</font>");
  end
 elseif player:get_param(220) == ds and player:get_param(220)==12 then
     if player:get_param(222) == 1 then
     player:add_vcoin(20000);
  player:alert(11,0,0,"恭喜您压中“双”中奖2倍彩金2注共计2W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>2W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 5 then
     player:add_vcoin(100000);
  player:alert(11,0,0,"恭喜您压中“双”中奖2倍彩金5注共计10W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>10W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 10 then
     player:add_vcoin(200000);
  player:alert(11,0,0,"恭喜您压中“双”中奖2倍彩金10注共计20W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>20W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  elseif player:get_param(222) == 50 then
     player:add_vcoin(1000000);
  player:alert(11,0,0,"恭喜您压中“双”中奖2倍彩金50注共计100W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>100W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中单双</font><font color='#FF0000'>[50注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【100W】</font>");
  elseif player:get_param(222) == 100 then
     player:add_vcoin(2000000);
  player:alert(11,0,0,"恭喜您压中“双”中奖3倍彩金100注共计200W元宝,希望下次还能有如此运气~~~");
  g_alert("<font color='#FF00FF'>恭喜玩家</font><font color='#FF0000'>["..player:GetName().."]</font><font color='#FF00FF'>中奖</font><font color='#FF0000'>200W</font><font color='#FF00FF'>元宝,如果您心动了,就快点来找我赌上两局·~~~~</font>",2,1000,0,1);
  player:set_param(220,0);
  player:set_param(222,0);
  g_broadcast(14,0,0,"<font color='#FF00FF'>快报!快报!玩家</font><font color='#FF0000'>【"..player:GetName().."】</font><font color='#FF00FF'>运气超好!压中单双</font><font color='#FF0000'>[100注]</font><font color='#FF00FF'>,获得元宝</font><font color='#FF0000'>【100W】</font>");
  end
 elseif player:get_param(220) == 0 then
  player:alert(10,0,0,"你还没有下注啊!快点来下注吧,绝对童受无欺,赶快下注,发财不在是梦想~~~");
 else
 player:set_param(220,0);
 player:set_param(221,0);
 player:set_param(222,0);
 player:alert(10,0,0,"很遗憾,您此次没有中奖,不要气馁,再接再厉,好运一定会光顾你的~~~");
 end
 ontalk1921(npc,0,player,0);
else
    player:alert(10,0,0,"现在为押注时间,不能领奖,每轮抽奖时间为3分钟,最后一分钟为领奖时间");
 ontalk1921(npc,0,player,0);
end

end
Npc1921Funid =
{
[0] = ontalk1921;
[101] = ontalk1921_101;
[102] = ontalk1921_102;
[103] = ontalk1921_103;
[104] = ontalk1921_104;
[105] = ontalk1921_105;
[201] = ontalk1921_201;
[202] = ontalk1921_202;
[203] = ontalk1921_203;
[204] = ontalk1921_204;
[205] = ontalk1921_205;
[301] = ontalk1921_301;
[302] = ontalk1921_302;
[303] = ontalk1921_303;
[304] = ontalk1921_304;
[305] = ontalk1921_305;
[401] = ontalk1921_401;
[402] = ontalk1921_402;
[403] = ontalk1921_403;
[404] = ontalk1921_404;
[405] = ontalk1921_405;
[501] = ontalk1921_501;
[502] = ontalk1921_502;
[503] = ontalk1921_503;
[504] = ontalk1921_504;
[505] = ontalk1921_505;
[1101] = ontalk1921_1101;
[1102] = ontalk1921_1102;
[1103] = ontalk1921_1103;
[1104] = ontalk1921_1104;
[1105] = ontalk1921_1105;
[1201] = ontalk1921_1201;
[1202] = ontalk1921_1202;
[1203] = ontalk1921_1203;
[1204] = ontalk1921_1204;
[1205] = ontalk1921_1205;
[1301] = ontalk1921_1301;
[1302] = ontalk1921_1302;
[1303] = ontalk1921_1303;
[1304] = ontalk1921_1304;
[1305] = ontalk1921_1305;
[1401] = ontalk1921_1401;
[1402] = ontalk1921_1402;
[1403] = ontalk1921_1403;
[1404] = ontalk1921_1404;
[1405] = ontalk1921_1405;
[1501] = ontalk1921_1501;
[1502] = ontalk1921_1502;
[1503] = ontalk1921_1503;
[1504] = ontalk1921_1504;
[1505] = ontalk1921_1505;
[1601] = ontalk1921_1601;
[1602] = ontalk1921_1602;
[1603] = ontalk1921_1603;
[1604] = ontalk1921_1604;
[1605] = ontalk1921_1605;
[2] = ontalk1921_2;
[20] = ontalk1921_20;
[100] = ontalk1921_100;

}
function CreatureNpcFun(npc,event,player,funid)
 if Npc1921Funid[funid] ~= nil then
  Npc1921Funid[funid](npc,event,player);
 end
end

RegisterServerHook(44,"OnTimeEvent");
RegisterUnitEvent(1921,20,"ontalk1921")
RegisterUnitEvent(1921,29,"CreatureNpcFun")

 本脚本由烈焰爱好者群-指间飘零原创.在页游乐(yeyo6.com)首发,一切转发请保留我们的版权.
 

最新文章
· 蓝月传奇个人BOSS阿修罗神掉宝数据概述...
· 蓝月传奇野外BOSS通天霸主掉宝...
· 蓝月传奇野外BOSS雷炎蛛王掉宝数据...
· 蓝月传奇野外BOSS冰霜教王掉宝数据...
· 蓝月传奇野外BOSS魔龙教王掉宝数据概述...
· 蓝月传奇野外BOSS火龙王掉宝数据概述...
· 烈焰绿色版元宝活动之夺宝战场...
· 烈焰绿色版 7-25 18:00更新维护...
· 给你的烈焰私服增加一个定时刷怪的功能脚本...
· 烈焰服务端对角色进行相关属性操作的脚本命...
热门文章
· 烈焰游戏里神武官阶说明...
· 烈焰私服里战士的PK方法...
· 烈焰私服服务端里添加官方九幽海域传送员的...
· 烈焰SF新春贺礼···...
· 教程--烈焰私服里面添加鉴定大师NPC...
· 怒斩烈焰私服充值攻略...
· 烈焰私服的各种玩法...
· 烈焰私服的各种玩法(续)...
· 烈焰开服表私服里面装备.账号交易方法...
· 烈焰私服里防骗指南...
yeyo6.com背景图
2015-2018(c) www.YeY06.Com 烈焰私服 版权所有 盗版必究
*注释:本站所有信息,均来自互联网。请玩家仔细辨认游戏信息的真实性!与本站无关