图 1.
下面是引用 1234561231 于 2010-11-28 20:35 发表的 : 图上那句好了还有求inc的字辞位置分类谢谢
/* Registers event on which a given function will be called * Flags: * "a" - global event. * "b" - specified. * "c" - send only once when repeated to other players. * "d" - call if is send to dead player. * "e" - to alive. * NOTE: Due to a long-standing bug that would break compatibility with old plugins, * the client id should be checked for alive/dead state if you use d or e. * Examples for conditions: * "2=c4" - 2nd parameter of message must be sting "c4". * "3>10" - 3rd parameter must be greater then 10. * "3!4" - 3rd must be different from 4. * "2&Buy" - 2nd parameter of message must contain "Buy" substring. * "2!Buy" - 2nd parameter of message can't contain "Buy" substring. */ native register_event(const event[],const function[],const flags[],const cond[]="", ... );
register_cvar(const name[],const string[],flags = 0,Float:fvalue = 0.0); @name cvar的名称 @string cvar的值 @flags里可放的: /* Flags for register_cvar() */ #define FCVAR_ARCHIVE 1 /* set to cause it to be saved to vars.rc */ #define FCVAR_USERINFO 2 /* changes the client's info string */ #define FCVAR_SERVER 4 /* notifies players when changed */ #define FCVAR_EXTDLL 8 /* defined by external DLL */ #define FCVAR_CLIENTDLL 16 /* defined by the client dll */ #define FCVAR_PROTECTED 32 /* It's a server cvar, but we don't send the data since it's a password, etc. Sends 1 if it's not bland/zero, 0 otherwise as value */ #define FCVAR_SPONLY 64 /* This cvar cannot be changed by clients connected to a multiplayer server. */ #define FCVAR_PRINTABLEONLY 128 /* This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ). */ #define FCVAR_UNLOGGED 256 /* If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log */ @fvalue 用途不知道= =
下面是引用 1234561231 于 2010-11-28 22:06 发表的 : 那就大概跟我讲一下哪个inc放着哪类的字辞(依你常用到的) 如果可以了话请全部列出来.谢谢
下面是引用 a7811311622 于 2010-11-29 00:36 发表的 : 谁会这么闲…还去分类… 大部分都靠经验找…找不到就善用「搜寻」功能对该插件有读取的INC档地毯式搜索…
下面是引用 1234561231 于 2010-12-04 14:43 发表的 : 可是会写sma的应该都会有一张字辞表(里面放inc字辞整理过的) 还是把字辞全都背起来了!!!!!!!!!!!!!