誰能教我 武器在地上超過100秒會清理

Home Home
引用 | 編輯 樂哥x_x
2012-01-08 21:15
樓主
推文 x0
誰能教我 武器在地上超過100秒會清理

有沒有人會

獻花 x0
引用 | 編輯 HiNess
2012-01-09 00:34
1樓
  
複製程式
#include <fakemeta>

register_forward(FM_SetModel, "fw_SetModel")

public fw_SetModel(entity, const model[])
{
    if (!pev_valid(entity)) return FMRES_IGNORED
 
    if (strlen(model) < 8) return FMRES_IGNORED;
 
    new ent_classname[32]
    pev(entity, pev_classname, ent_classname, charsmax(ent_classname))
    if (equal(ent_classname, "weaponbox"))
    {
        set_pev(entity, pev_nextthink, get_gametime() + 100.0)
        return FMRES_IGNORED
    }
    return FMRES_IGNORED
}


獻花 x2
引用 | 編輯 樂哥x_x
2012-01-09 21:00
2樓
  
THX YOU 表情

獻花 x0
引用 | 編輯 l73102700
2012-01-17 13:30
3樓
  
装插件

獻花 x0
引用 | 編輯 lyw8614505
2012-02-23 21:31
4樓
  
下面是引用 HiNess 於 2012-01-09 00:34 發表的 : 到引言文
[code]
#include <fakemeta>
register_forward(FM_SetModel, "fw_SetModel")
public fw_SetModel(entity, const model[])
{
.......


請教一下問題,爲什麽您的源碼我不能圍成amxx呢

獻花 x0
引用 | 編輯 HiNess
2012-02-23 22:36
5樓
  
下面是引用 lyw8614505 於 2012-02-23 21:31 發表的 : 到引言文
 

請教一下問題,爲什麽您的源碼我不能圍成amxx呢
因為不是完整的- -

獻花 x0
引用 | 編輯 lyw8614505
2012-02-24 08:01
6樓
  
下面是引用 HiNess 於 2012-02-23 22:36 發表的 : 到引言文

因為不是完整的- -

大大能不能提供一個完整的源碼下載呢?

獻花 x0