Advertisement
WH1SKEY

funcs

Sep 26th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 13.44 KB | None | 0 0
  1.     static const Native SendClientMessage =                 { "SendClientMessage","iis" };
  2.     static const Native SendClientMessageToAll =            { "SendClientMessageToAll","is" };
  3.     static const Native SendPlayerMessageToPlayer =         { "SendPlayerMessageToPlayer","iis" };
  4.     static const Native SendPlayerMessageToAll =            { "SendPlayerMessageToAll","is" };
  5.     static const Native SendDeathMessage =                  { "SendDeathMessage","iii" };
  6.     static const Native GameTextForAll =                    { "GameTextForAll","sii" };
  7.     static const Native GameTextForPlayer =                 { "GameTextForPlayer""isii" };
  8.     static const Native GetTickCount =                      { "GetTickCount","" };
  9.     static const Native GetMaxPlayers =                     { "GetMaxPlayers""" };
  10.     static const Native SetGameModeText =                   { "SetGameModeText","s" };
  11.     static const Native SetTeamCount =                      { "SetTeamCount", "i" };
  12.     static const Native AddPlayerClass =                    { "AddPlayerClass","iffffiiiiii" };
  13.     static const Native AddPlayerClassEx =                  { "AddPlayerClassEx","iiffffiiiiii" };
  14.     static const Native AddStaticVehicle =                  { "AddStaticVehicle","iffffii" };
  15.     static const Native AddStaticVehicleEx =                { "AddStaticVehicleEx","iffffiii" };
  16.     static const Native AddStaticPickup =                   { "AddStaticPickup","iifff" };
  17.     static const Native ShowNameTags =                      { "ShowNameTags","i" };
  18.     static const Native ShowPlayerMarkers =                 { "ShowPlayerMarkers""i" };
  19.     static const Native GameModeExit =                      { "GameModeExit","" };
  20.     static const Native SetWorldTime =                      { "SetWorldTime","i" };
  21.     static const Native GetWeaponName =                     { "GetWeaponName""ivi" };
  22.     static const Native EnableTirePopping =                 { "EnableTirePopping","i" };
  23.     static const Native AllowInteriorWeapons =              { "AllowInteriorWeapons","i" };
  24.     static const Native SetWeather =                        { "SetWeather","i" };
  25.     static const Native SetGravity =                        { "SetGravity","f" };
  26.     static const Native AllowAdminTeleport =                { "AllowAdminTeleport","i" };
  27.     static const Native SetDeathDropAmount =                { "SetDeathDropAmount","i" };
  28.     static const Native CreateExplosion =                   { "CreateExplosion","fffif" };
  29.     static const Native EnableZoneNames =                   { "EnableZoneNames","i" };
  30.     static const Native IsPlayerAdmin =                     { "IsPlayerAdmin""i" };
  31.     static const Native Kick =                              { "Kick","i" };
  32.     static const Native Ban =                               { "Ban", "i" };
  33.     static const Native SendRconCommand =                   { "SendRconCommand",    "s" };
  34.     static const Native ShowPlayerDialog =                  { "ShowPlayerDialog",   "dddssss"};
  35.  
  36.     // a_players.inc
  37.     static const Native SetSpawnInfo =                      { "SetSpawnInfo","iiiffffiiiiii" };
  38.     static const Native SpawnPlayer =                       { "SpawnPlayer","i" };
  39.     static const Native SetPlayerPos =                      { "SetPlayerPos","ifff" };
  40.     static const Native GetPlayerPos =                      { "GetPlayerPos","ivvv" };
  41.     static const Native SetPlayerFacingAngle =              { "SetPlayerFacingAngle","if" };
  42.     static const Native GetPlayerFacingAngle =              { "GetPlayerFacingAngle","iv" };
  43.     static const Native SetPlayerInterior =                 { "SetPlayerInterior""ii" };
  44.     static const Native GetPlayerInterior =                 { "GetPlayerInterior""i" };
  45.     static const Native SetPlayerHealth =                   { "SetPlayerHealth",                        "if" };
  46.     static const Native GetPlayerHealth =                   { "GetPlayerHealth",                        "iv" };
  47.     static const Native SetPlayerArmour =                   { "SetPlayerArmour",                        "if" };
  48.     static const Native GetPlayerArmour =                   { "GetPlayerArmour",                        "iv" };
  49.     static const Native SetPlayerAmmo =                     { "SetPlayerAmmo",                      "iii" };
  50.     static const Native GetPlayerAmmo =                     { "GetPlayerAmmo",                      "i" };
  51.     static const Native SetPlayerTeam =                     { "SetPlayerTeam",                      "ii" };
  52.     static const Native GetPlayerTeam =                     { "GetPlayerTeam",                      "i" };
  53.     static const Native SetPlayerScore =                    { "SetPlayerScore",                     "ii" };
  54.     static const Native GetPlayerScore =                    { "GetPlayerScore",                     "i" };
  55.     static const Native SetPlayerColor =                    { "SetPlayerColor",                     "ii" };
  56.     static const Native GetPlayerColor =                    { "GetPlayerColor",                     "i" };
  57.     static const Native SetPlayerSkin =                     { "SetPlayerSkin",                      "ii" };
  58.     static const Native GivePlayerWeapon =                  { "GivePlayerWeapon",                   "iii" };
  59.     static const Native ResetPlayerWeapons =                { "ResetPlayerWeapons",                 "i" };
  60.     static const Native GetPlayerWeaponData =               { "GetPlayerWeaponData",                    "iivv " };
  61.     static const Native GivePlayerMoney =                   { "GivePlayerMoney",                        "ii" };
  62.     static const Native ResetPlayerMoney =                  { "ResetPlayerMoney",                   "i" };
  63.     static const Native SetPlayerName =                     { "SetPlayerName",                      "is" };
  64.     static const Native GetPlayerMoney =                    { "GetPlayerMoney",                     "i" };
  65.     static const Native GetPlayerState =                    { "GetPlayerState",                     "i" };
  66.     static const Native GetPlayerIp =                       { "GetPlayerIp",                            "ipi" };
  67.     static const Native GetPlayerPing =                     { "GetPlayerPing",                      "i" };
  68.     static const Native GetPlayerWeapon =                   { "GetPlayerWeapon",                        "i" };
  69.     static const Native GetPlayerKeys =                     { "GetPlayerKeys",                      "ivvv" };
  70.     static const Native GetPlayerName =                     { "GetPlayerName",                      "ipi" };
  71.     static const Native PutPlayerInVehicle =                { "PutPlayerInVehicle",                 "iii" };
  72.     static const Native GetPlayerVehicleID =                { "GetPlayerVehicleID",                 "i" };
  73.     static const Native RemovePlayerFromVehicle =           { "RemovePlayerFromVehicle",                "i" };
  74.     static const Native TogglePlayerControllable =          { "TogglePlayerControllable",           "ii" };
  75.     static const Native PlayerPlaySound =                   { "PlayerPlaySound",                        "iifff" };
  76.     static const Native SetPlayerCheckpoint =               { "SetPlayerCheckpoint",                    "iffff" };
  77.     static const Native DisablePlayerCheckpoint =           { "DisablePlayerCheckpoint",                "i" };
  78.     static const Native SetPlayerRaceCheckpoint =           { "SetPlayerRaceCheckpoint",                "iifffffff" };
  79.     static const Native DisablePlayerRaceCheckpoint =       { "DisablePlayerRaceCheckpoint",            "i" };
  80.     static const Native SetPlayerWorldBounds =              { "SetPlayerWorldBounds",               "iffff" };
  81.     static const Native SetPlayerMarkerForPlayer =          { "SetPlayerMarkerForPlayer",           "iii" };
  82.     static const Native ShowPlayerNameTagForPlayer =        { "ShowPlayerNameTagForPlayer",         "iii" };
  83.     static const Native SetPlayerMapIcon =                  { "SetPlayerMapIcon",                   "iifffii" };
  84.     static const Native RemovePlayerMapIcon =               { "RemovePlayerMapIcon",                    "ii" };
  85.     static const Native SetPlayerCameraPos =                { "SetPlayerCameraPos",                 "ifff" };
  86.     static const Native SetPlayerCameraLookAt =             { "SetPlayerCameraLookAt",              "ifff" };
  87.     static const Native SetCameraBehindPlayer =             { "SetCameraBehindPlayer",              "i" };
  88.     static const Native AllowPlayerTeleport =               { "AllowPlayerTeleport",                    "ii" };
  89.     static const Native IsPlayerConnected =                 { "IsPlayerConnected"                   "i" };
  90.     static const Native IsPlayerInVehicle =                 { "IsPlayerInVehicle",                  "ii" };
  91.     static const Native IsPlayerInAnyVehicle =              { "IsPlayerInAnyVehicle",               "i" };
  92.     static const Native IsPlayerInCheckpoint =              { "IsPlayerInCheckpoint",               "i" };
  93.     static const Native IsPlayerInRaceCheckpoint =          { "IsPlayerInRaceCheckpoint",           "i" };
  94.     static const Native SetPlayerTime =                     { "SetPlayerTime",                      "iii" };
  95.     static const Native TogglePlayerClock =                 { "TogglePlayerClock",                  "ii" };
  96.     static const Native SetPlayerWeather =                  { "SetPlayerWeather",                   "ii" };
  97.     static const Native GetPlayerTime =                     { "GetPlayerTime",                      "ivv" };
  98.     static const Native SetPlayerVirtualWorld =             { "SetPlayerVirtualWorld",              "ii" };
  99.     static const Native GetPlayerVirtualWorld =             { "GetPlayerVirtualWorld",              "i" };
  100.  
  101.     // a_vehicle.inc
  102.     static const Native CreateVehicle =                     { "CreateVehicle",                      "iffffiii" };
  103.     static const Native DestroyVehicle =                    { "DestroyVehicle",                     "i" };
  104.     static const Native GetVehiclePos =                     { "GetVehiclePos",                      "ivvv" };
  105.     static const Native SetVehiclePos =                     { "SetVehiclePos",                      "ifff" };
  106.     static const Native GetVehicleZAngle =                  { "GetVehicleZAngle",                   "iv" };
  107.     static const Native SetVehicleZAngle =                  { "SetVehicleZAngle",                   "if" };
  108.     static const Native SetVehicleParamsForPlayer =         { "SetVehicleParamsForPlayer",          "iiii" };
  109.     static const Native SetVehicleToRespawn =               { "SetVehicleToRespawn",                    "i" };
  110.     static const Native LinkVehicleToInterior =             { "LinkVehicleToInterior",              "ii" };
  111.     static const Native AddVehicleComponent =               { "AddVehicleComponent",                    "ii" };
  112.     static const Native ChangeVehicleColor =                { "ChangeVehicleColor",                 "iii" };
  113.     static const Native ChangeVehiclePaintjob =             { "ChangeVehiclePaintjob",              "ii" };
  114.     static const Native SetVehicleHealth =                  { "SetVehicleHealth",                   "if" };
  115.     static const Native GetVehicleHealth =                  { "GetVehicleHealth",                   "iv" };
  116.     static const Native AttachTrailerToVehicle =            { "AttachTrailerToVehicle",             "ii" };
  117.     static const Native DetachTrailerFromVehicle =          { "DetachTrailerFromVehicle",           "i" };
  118.     static const Native IsTrailerAttachedToVehicle =        { "IsTrailerAttachedToVehicle",         "i" };
  119.     static const Native GetVehicleModel =                   { "GetVehicleModel",                    "d"};
  120.     static const Native SetVehicleNumberPlate =             { "SetVehicleNumberPlate",              "is" };
  121.     static const Native SetVehicleVirtualWorld =            { "SetVehicleVirtualWorld",             "ii" };
  122.     static const Native GetVehicleVirtualWorld =            { "GetVehicleVirtualWorld",             "i" };
  123.     static const Native ApplyAnimation =                    { "ApplyAnimation",                     "issfiiiii" };
  124.  
  125.     // a_objects.inc
  126.     static const Native CreateObject =                      { "CreateObject",                       "ifffffff" };
  127.     static const Native SetObjectPos =                      {  "SetObjectPos",                      "ifff" };
  128.     static const Native GetObjectPos =                      {  "GetObjectPos",                      "ivvv" };
  129.     static const Native SetObjectRot =                      {  "SetObjectRot",                      "ifff" };
  130.     static const Native GetObjectRot =                      {  "GetObjectRot",                      "ivvv" };
  131.     static const Native IsValidObject =                     {  "IsValidObject",                     "i" };
  132.     static const Native DestroyObject =                     {  "DestroyObject",                     "i" };
  133.     static const Native MoveObject =                        {  "MoveObject",                            "iffff" };
  134.     static const Native StopObject =                        {  "StopObject ",                           "i" };
  135.     static const Native CreatePlayerObject =                {  "CreatePlayerObject",                    "iiffffff" };
  136.     static const Native SetPlayerObjectPos =                {  "SetPlayerObjectPos",                    "iifff" };
  137.     static const Native GetPlayerObjectPos =                {  "GetPlayerObjectPos",                    "iivvv" };
  138.     static const Native GetPlayerObjectRot =                {  "GetPlayerObjectRot",                    "iivvv" };
  139.     static const Native SetPlayerObjectRot =                {  "SetPlayerObjectRot",                    "iifff" };
  140.     static const Native IsValidPlayerObject =               {  "IsValidPlayerObject",                   "ii" };
  141.     static const Native DestroyPlayerObject =               {  "DestroyPlayerObject",                   "ii" };
  142.     static const Native MovePlayerObject =                  {  "MovePlayerObject",                  "iiffff" };
  143.     static const Native StopPlayerObject =                  {  "StopPlayerObject",                  "ii" };
  144.  
  145.     // Menu's
  146.     static const Native CreateMenu =                        {  "CreateMenu",                            "siffff" };
  147.     static const Native DestroyMenu =                       {  "DestroyMenu",                           "i" };
  148.     static const Native AddMenuItem =                       {  "AddMenuItem",                           "iis" };
  149.     static const Native SetMenuColumnHeader =               {  "SetMenuColumnHeader",                   "iis" };
  150.     static const Native ShowMenuForPlayer =                 {  "ShowMenuForPlayer",                 "ii" };
  151.     static const Native HideMenuForPlayer =                 {  "HideMenuForPlayer",                 "ii" };
  152.     static const Native IsValidMenu =                       {  "IsValidMenu",                           "i" };
  153.     static const Native DisableMenu =                       {  "DisableMenu",                           "i" };
  154.     static const Native DisableMenuRow =                    {  "DisableMenuRow",                        "ii" };
  155.  
  156.     // Textdraw
  157.     static const Native TextDrawCreate =                    { "TextDrawCreate",                     "ffs" };
  158.     static const Native TextDrawDestroy =                   {  "TextDrawDestroy",                       "i" };
  159.     static const Native TextDrawLetterSize =                { "TextDrawLetterSize",                 "iff" };
  160.     static const Native TextDrawTextSize =                  {  "TextDrawTextSize",                  "iff" };
  161.     static const Native TextDrawAlignment =                 {  "TextDrawAlignment",                 "ii" };
  162.     static const Native TextDrawColor =                     {  "TextDrawColor",                     "ii" };
  163.     static const Native TextDrawUseBox =                    {  "TextDrawUseBox",                        "ii" };
  164.     static const Native TextDrawBoxColor =                  {  "TextDrawBoxColor",                  "ii" };
  165.     static const Native TextDrawSetShadow =                 {  "TextDrawSetShadow",                 "ii" };
  166.     static const Native TextDrawSetOutline =                {  "TextDrawSetOutline",                    "ii" };
  167.     static const Native TextDrawBackgroundColor =           {  "TextDrawBackgroundColor",               "ii" };
  168.     static const Native TextDrawFont =                      { "TextDrawFont",                       "ii" };
  169.     static const Native TextDrawSetProportional =           {  "TextDrawSetProportional",               "ii" };
  170.     static const Native TextDrawShowForPlayer =             {  "TextDrawShowForPlayer",             "ii" };
  171.     static const Native TextDrawHideForPlayer =             {  "TextDrawHideForPlayer",             "ii" };
  172.     static const Native TextDrawShowForAll =                { "TextDrawShowForAll",                 "i" };
  173.     static const Native TextDrawHideForAll =                { "TextDrawHideForAll",                 "i" };
  174.  
  175.     static const Native GetPlayerVelocity =                 { "GetPlayerVelocity",                 "ivvv"  };
  176.     static const Native GetAnimationName =                  { "GetAnimationName",                  "ipipi" };
  177.     static const Native GetPlayerAnimationIndex =           { "GetPlayerAnimationIndex",           "i"     };
  178.     static const Native GetVehicleVelocity =                { "GetVehicleVelocity",                "ivvv"  };
  179.     static const Native GetPlayerSpecialAction =            { "GetPlayerSpecialAction",            "i"     };
  180.     static const Native SetPlayerPosFindZ =                 { "SetPlayerPosFindZ",                 "ifff"  };
  181.     static const Native GetPlayerSurfingVehicleID =         { "GetPlayerSurfingVehicleID",         "i"     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement