CS1.6 服务器无法显示正版玩家的头像,求解决办法
CS1.6 服务器无法显示正版玩家的头像,求解决办法 #include <amxmodx>#include <fakemeta>
#include <cstrike>
public plugin_init()
{
register_plugin("Steam Avatar Plugin", "1.0", "Author");
register_event("CurWeapon", "on_player_spawn", "a", "1=0");
}
public on_player_spawn(id)
{
if (!is_user_connected(id) || !is_user_steam(id))
return;
// 显示玩家的Steam头像
client_cmd(id, "clear");
client_cmd(id, "say {green}你的头像正在加载...");
}
页:
[1]