决战私服 曝光平台 百度一下 软件下载 特殊符号 发布家族 家族联盟 发布游戏 广告联系
网站首页 决战推广礼包代码
 文章名称:决战推广礼包代码
文章作者:决战私服
更新时间:2020-2-8
文章来源:www.yaojuezhan.com
    case 111: //
{
int iSlot = 0;//定义空背包
        iSlot = GetEmptySlot(INVENTORY_SLOT);//声明是空背包
        if( iSlot < 0 )return FALSE;
GiveItemAll(845, 5, 0,0,0,0,0,0,0,0,0,0,0 ); 
GiveItemAll(846, 5, 0,0,0,0,0,0,0,0,0,0,0 ); 
GiveItemAll(847, 5,0,0,0,0,0,0,0,0,0,0,0 ); 
GiveItemAll(848, 5, 0,0,0,0,0,0,0,0,0,0,0 ); 
GiveItemAll(1022, 1, 0,0,0,0,0,0,0,0,0,0,0 ); 
GiveItemAll(724, 500,0,0,0,0,0,0,0,0,0,0,0 ); 
SendSystemMsg("感谢您!参与推广,获得了礼包内的物品!", SYSTEM_ERROR, TO_ME);
tRet = 18;
CString str;
    str.Format("恭喜!玩家 %s 开启了[推广礼包]获得推广奖励!大家快联系GM参加推广,当天22点活动截止!",m_strUserID);
    SendSystemMsg(str.GetBuffer(str.GetLength()),SYSTEM_ANNOUNCE,TO_ALL);
}
break;