圖 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字辭整理過的) 還是把字辭全都背起來了!!!!!!!!!!!!!