Pawn是一个嵌入式、无类型、且易于使用的脚本语言,它能够编程成被Small虚拟机识别的二进制代码。AMX Mod X使用Small插件将脚本功能路由到Half-Life引擎,原理就是Small插件可以被Small虚拟机加载运行,并且能够使用Metamod功能,从而间接地使用Half-Life引擎的功能。(Small虚拟机使用C语言编写,Metamod平台使...
New Include/Base StructureInstead of including <modules.h>, you should now include <amxxmodule.h> and add the M/SDK to your project (get the MDK from CVS or t...
amx_ctof1REAL amx_ctof( cell x );
Converts a cell to a REAL (float or double) value.
常用于module与small之间的传参
amx_ftoc1REAL amx_ftoc( float x );
Converts a REAL (float or double) to ...
Natives/ParametersA native is a C or C++ function that can be used in Small scripts. They are one of the two ways to glue Small to your module. Take this sample native:
12345/...