搜索
查看: 1792|回复: 3

闪闪进来帮个忙

[复制链接]
发表于 2004-11-8 13:34:25 | 显示全部楼层 |阅读模式 来自 中国–陕西–西安
/* These functinos are used to generate client messages.
* You may generate menu, smoke, shockwaves, thunderlights,
* intermission and many many others messages.
* See HL SDK for more examples. */
native message_begin( dest, msg_type, origin[3]={0,0,0},player=0);
native message_end();
native write_byte( x );
native write_char( x );
native write_short( x );
native write_long( x );
native write_entity( x );
native write_angle( x );
native write_coord( x );
native write_string( x[] );

以上是inc文件里的,重点是 See HL SDK for more examples.
我的问题是在hl sdk 里没找到什么例子,给我指点一下,在哪里?

还有这个
// Set things in an entities Entvars Struct. See HLSDK or look at examples to determine what different variables do.
native entity_get_int(iIndex, iVariable);
native entity_set_int(iIndex, iVariable, iValue);
native Float:entity_get_float(iIndex, iVariable);
native entity_set_float(iIndex, iVariable, Float:fValue);
native entity_get_vector(iIndex, iVariable, Float:vVector[3]);
native entity_set_vector(iIndex, iVariable, Float:vVector[3]);
native entity_get_edict(iIndex, iVariable);
native entity_set_edict(iIndex, iVariable, iNewIndex);
native entity_get_string(iIndex, iVariable, szValue[], iLen);
native entity_set_string(iIndex, iVariable, szValue[]);
native entity_get_byte(iIndex, iVariable);
native entity_set_byte(iIndex, iVariable, iValue);
发表于 2004-11-8 14:00:44 | 显示全部楼层 来自 中国–吉林–长春
我也在期待
回复

使用道具 举报

发表于 2004-11-8 21:06:46 | 显示全部楼层 来自 中国–福建–龙岩
利用WINDOWS的查找功能,在hlsdk目录下,找
message_begin,

将有一个详细的API调用。 :thefinger
回复

使用道具 举报

发表于 2004-11-8 21:10:29 | 显示全部楼层 来自 中国–吉林–长春
放到这里好不,下载那个太慢了,小包的也不行
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表