查看: 3308|回复: 26

[源码]囚犯抽奖插件

[复制链接]
发表于 2014-12-7 16:45:57 | 显示全部楼层 |阅读模式
        give_item(id, "weapon_usp");
        client_print(id,print_center,"恭喜你抽到一把usp,赶快和身边的囚犯分享吧!")
}
}
public choujiang2(id)
{
if(cs_get_user_deaths(id) == 11 && cs_get_user_team(id) == CS_TEAM_T)
{
        give_item(id, "weapon_deagle");
        client_print(id,print_center,"恭喜你抽到一把沙鹰,赶快和身边的囚犯分享吧!")
}
}
public choujiang3(id){
if(cs_get_user_deaths(id) == 2&&cs_get_user_team(id) == CS_TEAM_T)
{
        set_user_health(id,get_user_health(id)-20);
        client_print(id,print_center,"你在抽奖时遇到了强盗,被暴打一顿,损失20血")
}
}
public choujiang4(id){
if(cs_get_user_deaths(id) == 1&&cs_get_user_team(id) == CS_TEAM_T)
{
        set_user_health(id,get_user_health(id)-20);
        client_print(id,print_center,"你在抽奖时遇到了强盗,被暴打一顿,损失20血")
}
}
public choujiang5(id){
if(cs_get_user_deaths(id) == 9&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_cmd(id,"kill");
        client_print(id,print_center,"恭喜你抽到敌敌畏,直接去死!")
}
}
public choujiang6(id){
if(cs_get_user_deaths(id) == 16&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"恭喜你抽到数学题,回答25+187+53=?,答对有奖")
}
}
public choujiang7(id){
if(cs_get_user_deaths(id) == 13&&cs_get_user_team(id) == CS_TEAM_T)
{
        set_user_health(id,get_user_health(id)-20);
        client_print(id,print_center,"你在抽奖时遇到了强盗,被暴打一顿,损失20血")
}
}
public choujiang8(id){
if(cs_get_user_deaths(id) >= 17&&cs_get_user_team(id) == CS_TEAM_T)
{
        cs_set_user_deaths(id, 0)
}
}
public choujiang9(id){
if(cs_get_user_deaths(id) == 8&&cs_get_user_team(id) == CS_TEAM_T)
{
        set_user_health(id,get_user_health(id)-50);
        client_print(id,print_center,"狱长下令把奖品全抢走,你英勇反抗,损失50血")
}
}
public choujiang10(id){
if(cs_get_user_deaths(id) == 7&&cs_get_user_team(id) == CS_TEAM_T)
{
        set_user_health(id,500);
        client_print(id,print_center,"你抽到了T病毒,拥有500血,")
}
}
public choujiang11(id){
if(cs_get_user_deaths(id) == 10&&cs_get_user_team(id) == CS_TEAM_T)
{
        give_item(id, "Grenade");
        client_print(id,print_center,"你抽到了一颗高爆手雷!(骗你的)")
}
}
public meichoudao1(id){
if(cs_get_user_deaths(id) == 0&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao2(id){
if(cs_get_user_deaths(id) == 3&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao3(id){
if(cs_get_user_deaths(id) == 4&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao4(id){
if(cs_get_user_deaths(id) == 6&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao5(id){
if(cs_get_user_deaths(id) == 12&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao6(id){
if(cs_get_user_deaths(id) == 14&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public meichoudao7(id){
if(cs_get_user_deaths(id) == 15&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"囧~你什么都没抽到!")
}
}
public baichi(id){
if(cs_get_user_deaths(id) == 16&&cs_get_user_team(id) == CS_TEAM_T)
{
        client_print(id,print_center,"恭喜你答对题目,遗憾的是什么也没有~")
}
}

囚犯抽奖插件.rar

1.21 KB, 下载次数: 5

售价: 3 金钱  [记录]

发表于 2014-12-7 17:03:35 | 显示全部楼层
下了怎么用·
发表于 2014-12-7 17:36:48 | 显示全部楼层
上面那个学生妹的胸好大啊,多少钱一夜?
发表于 2014-12-7 19:33:23 | 显示全部楼层
你加油吧  
发表于 2014-12-7 19:44:17 | 显示全部楼层
要不我崇拜你?行吗?  
发表于 2014-12-7 20:39:10 | 显示全部楼层
慢慢来,呵呵  
发表于 2014-12-19 21:24:05 | 显示全部楼层
嘿...反了反了,,,,  
发表于 2015-1-14 12:53:10 | 显示全部楼层
牛牛牛牛  
发表于 2015-2-17 22:30:11 | 显示全部楼层
好贴子不多啊  
发表于 2015-3-18 06:59:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 中文注册

本版积分规则