回复: CS1.6的新玩法...........(有图)
请高手帮忙好吗?俺试了几个都会踢人并刷新重开局,无能为力了..............回复: CS1.6的新玩法...........(有图)
无耐再顶一次..........希望............不要那么忍心吗..........回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
友情支持!帮楼主顶顶!回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
ji xu ding ,wo ye xu yao zhe cha jian ,qiu gao ren lai回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
new const MODEL_t[] = "aaa"
new const MODEL_ct[] = "bbb"
public plugin_precache(id)
{
new szFile
formatex(szFile, charsmax(szFile), "models/player/%s/%s.mdl", MODEL_t, MODEL_t)
if( file_exists(szFile) )
{
precache_model(szFile)
}
formatex(szFile, charsmax(szFile), "models/player/%s/%s.mdl", MODEL_ct, MODEL_ct)
if( file_exists(szFile) )
{
precache_model(szFile)
}
}
public plugin_init()
{
register_forward(FM_SetClientKeyValue, "SetClientKeyValue")
RegisterHam(Ham_Spawn, "player", "Spawn", 1)
}
public Spawn(id)
{
if( is_user_alive(id) )
{
if( cs_get_user_team(id) == CS_TEAM_T)
set_user_info(id, "model", MODEL_t)
else
set_user_info(id, "model", MODEL_ct)
}
}
public SetClientKeyValue(id, infobuffer[], key[], value[])
{
if(equal(key, "model") && (!equal(value, MODEL_t) || !equal(value, MODEL_ct)))
{
if( cs_get_user_team(id) == CS_TEAM_T)
set_user_info(id, "model", MODEL_t)
else
set_user_info(id, "model", MODEL_ct)
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}
顺手改的,没测试过,需要ham
回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
Post by jim_yang#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
new const MODEL_t[] = "aaa"
new const MODEL_ct[] = "bbb"
public plugin_precache(id)
{
new szFile
formatex(szFile, charsmax(szFile), "models/player/%s/%s.mdl", MODEL_t, MO...
sm shi ham?
bian yi hou bu neng zhi jie yong ?
回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
Post by jim_yang#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
new const MODEL_t[] = "aaa"
new const MODEL_ct[] = "bbb"
public plugin_precache(id)
{
new szFile
formatex(szFile, charsmax(szFile), "models/player/%s/%s.mdl", MODEL_t, MODEL_t)
if( file_exists(szFile) )
{
precache_model(szFile)
}
formatex(szFile, charsmax(szFile), "models/player/%s/%s.mdl", MODEL_ct, MODEL_ct)
if( file_exists(szFile) )
{
precache_model(szFile)
}
}
public plugin_init()
{
register_forward(FM_SetClientKeyValue, "SetClientKeyValue")
RegisterHam(Ham_Spawn, "player", "Spawn", 1)
}
public Spawn(id)
{
if( is_user_alive(id) )
{
if( cs_get_user_team(id) == CS_TEAM_T)
set_user_info(id, "model", MODEL_t)
else
set_user_info(id, "model", MODEL_ct)
}
}
public SetClientKeyValue(id, infobuffer[], key[], value[])
{
if(equal(key, "model") && (!equal(value, MODEL_t) || !equal(value, MODEL_ct)))
{
if( cs_get_user_team(id) == CS_TEAM_T)
set_user_info(id, "model", MODEL_t)
else
set_user_info(id, "model", MODEL_ct)
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}
顺手改的,没测试过,需要ham
老师.........有1个未定义register_forward?已放hamsandwich模块...........
或是麻烦帮编译一下(也可能编译器问题):模型路经是:
models/player/mm_te/mm_te.mdl//土匪
models/player/hr_ct/hr_ct.mdl//警察
回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
#include <fakemeta>回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
Post by jim_yang#include <fakemeta>
特别谢谢................如果不会群踢...........请大家按原IP去下载新模型..........
回复: ( 哎 呀 , 帮 帮 忙 好 不 好 ? ) ...有图...
Post by 心静如水特别谢谢................如果不会群踢...........请大家按原IP去下载新模型..........
MM,怎么编译呀,我怎么编译不成?说说具体方法呗,谢谢了