Advertisement
Guest User

VCMP SDK

a guest
Jul 8th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 48.64 KB | None | 0 0
  1. # Copyright notices at the end of this file.
  2.  
  3. Consts:
  4.     int32Max: 2147483647
  5.  
  6. Enumerators:
  7.     PluginApiVersion:
  8.     -   major: 2
  9.     -   minor: 0
  10.     VcmpError:
  11.     -   vcmpErrorNone: 0
  12.     -   vcmpErrorNoSuchEntity: 1
  13.     -   vcmpErrorBufferTooSmall: 2
  14.     -   vcmpErrorTooLargeInput: 3
  15.     -   vcmpErrorArgumentOutOfBounds: 4
  16.     -   vcmpErrorNullArgument: 5
  17.     -   vcmpErrorPoolExhausted: 6
  18.     -   vcmpErrorInvalidName: 7
  19.     -   vcmpErrorRequestDenied: 8
  20.     -   forceSizeVcmpError: int32Max
  21.  
  22.     VcmpEntityPool:
  23.     -   vcmpEntityPoolVehicle: 1
  24.     -   vcmpEntityPoolObject: 2
  25.     -   vcmpEntityPoolPickup: 3
  26.     -   vcmpEntityPoolRadio: 4
  27.     -   vcmpEntityPoolBlip: 7
  28.     -   vcmpEntityPoolCheckPoint: 8
  29.     -   forceSizeVcmpEntityPool: int32Max
  30.  
  31.     VcmpDisconnectReason:
  32.     -   vcmpDisconnectReasonTimeout: 0
  33.     -   vcmpDisconnectReasonQuit: 1
  34.     -   vcmpDisconnectReasonKick: 2
  35.     -   vcmpDisconnectReasonCrash: 3
  36.     -   vcmpDisconnectReasonAntiCheat: 4
  37.     -   forceSizeVcmpDisconnectReason: int32Max
  38.  
  39.     VcmpBodyPart:
  40.     -   vcmpBodyPartBody: 0
  41.     -   vcmpBodyPartTorso: 1
  42.     -   vcmpBodyPartLeftArm: 2
  43.     -   vcmpBodyPartRightArm: 3
  44.     -   vcmpBodyPartLeftLeg: 4
  45.     -   vcmpBodyPartRightLeg: 5
  46.     -   vcmpBodyPartHead: 6
  47.     -   vcmpBodyPartInVehicle: 7
  48.     -   forceSizeVcmpBodyPart: int32Max
  49.  
  50.     VcmpPlayerState:
  51.     -   vcmpPlayerStateNone: 0
  52.     -   vcmpPlayerStateNormal: 1
  53.     -   vcmpPlayerStateAim: 2
  54.     -   vcmpPlayerStateDriver: 3
  55.     -   vcmpPlayerStatePassenger: 4
  56.     -   vcmpPlayerStateEnterDriver: 5
  57.     -   vcmpPlayerStateEnterPassenger: 6
  58.     -   vcmpPlayerStateExit: 7
  59.     -   vcmpPlayerStateUnspawned: 8
  60.     -   forceSizeVcmpPlayerState: int32Max
  61.  
  62.     VcmpPlayerUpdate:
  63.     -   vcmpPlayerUpdateNormal: 0
  64.     -   vcmpPlayerUpdateAiming: 1
  65.     -   vcmpPlayerUpdateDriver: 2
  66.     -   vcmpPlayerUpdatePassenger: 3
  67.     -   forceSizeVcmpPlayerUpdate: int32Max
  68.  
  69.     VcmpPlayerVehicle:
  70.     -   vcmpPlayerVehicleOut: 0
  71.     -   vcmpPlayerVehicleEntering: 1
  72.     -   vcmpPlayerVehicleExiting: 2
  73.     -   vcmpPlayerVehicleIn: 3
  74.     -   forceSizeVcmpPlayerVehicle: int32Max
  75.  
  76.     VcmpVehicleSync:
  77.     -   vcmpVehicleSyncNone: 0
  78.     -   vcmpVehicleSyncDriver: 1
  79.     -   vcmpVehicleSyncPassenger: 3
  80.     -   vcmpVehicleSyncNear: 4
  81.     -   forceSizeVcmpVehicleSync: int32Max
  82.  
  83.     VcmpVehicleUpdate:
  84.     -   vcmpVehicleUpdateDriverSync: 0
  85.     -   vcmpVehicleUpdateOtherSync: 1
  86.     -   vcmpVehicleUpdatePosition: 2
  87.     -   vcmpVehicleUpdateHealth: 4
  88.     -   vcmpVehicleUpdateColour: 5
  89.     -   vcmpVehicleUpdateRotation: 6
  90.     -   forceSizeVcmpVehicleUpdate: int32Max
  91.  
  92.     VcmpServerOption:
  93.     -   vcmpServerOptionSyncFrameLimiter: 0
  94.     -   vcmpServerOptionFrameLimiter: 1
  95.     -   vcmpServerOptionTaxiBoostJump: 2
  96.     -   vcmpServerOptionDriveOnWater: 3
  97.     -   vcmpServerOptionFastSwitch: 4
  98.     -   vcmpServerOptionFriendlyFire: 5
  99.     -   vcmpServerOptionDisableDriveBy: 6
  100.     -   vcmpServerOptionPerfectHandling: 7
  101.     -   vcmpServerOptionFlyingCars: 8
  102.     -   vcmpServerOptionJumpSwitch: 9
  103.     -   vcmpServerOptionShowMarkers: 10
  104.     -   vcmpServerOptionOnlyShowTeamMarkers: 11
  105.     -   vcmpServerOptionStuntBike: 12
  106.     -   vcmpServerOptionShootInAir: 13
  107.     -   vcmpServerOptionShowNameTags: 14
  108.     -   vcmpServerOptionJoinMessages: 15
  109.     -   vcmpServerOptionDeathMessages: 16
  110.     -   vcmpServerOptionChatTagsEnabled: 17
  111.     -   vcmpServerOptionUseClasses: 18
  112.     -   vcmpServerOptionWallGlitch: 19
  113.     -   vcmpServerOptionDisableBackfaceCulling: 20
  114.     -   vcmpServerOptionDisableHeliBladeDamage: 21
  115.     -   forceSizeVcmpServerOption: int32Max
  116.  
  117.     VcmpPlayerOption:
  118.     -   vcmpPlayerOptionControllable: 0
  119.     -   vcmpPlayerOptionDriveBy: 1
  120.     -   vcmpPlayerOptionWhiteScanlines: 2
  121.     -   vcmpPlayerOptionGreenScanlines: 3
  122.     -   vcmpPlayerOptionWidescreen: 4
  123.     -   vcmpPlayerOptionShowMarkers: 5
  124.     -   vcmpPlayerOptionCanAttack: 6
  125.     -   vcmpPlayerOptionHasMarker: 7
  126.     -   vcmpPlayerOptionChatTagsEnabled: 8
  127.     -   vcmpPlayerOptionDrunkEffects: 9
  128.     -   forceSizeVcmpPlayerOption: int32Max
  129.  
  130.     VcmpVehicleOption:
  131.     -   vcmpVehicleOptionDoorsLocked: 0
  132.     -   vcmpVehicleOptionAlarm: 1
  133.     -   vcmpVehicleOptionLights: 2
  134.     -   vcmpVehicleOptionRadioLocked: 3
  135.     -   vcmpVehicleOptionGhost: 4
  136.     -   vcmpVehicleOptionSiren: 5
  137.     -   vcmpVehicleOptionSingleUse: 6
  138.     -   forceSizeVcmpVehicleOption: int32Max
  139.  
  140.     VcmpPickupOption:
  141.     -   vcmpPickupOptionSingleUse: 0
  142.     -   forceSizeVcmpPickupOption: int32Max
  143.  
  144. Structs:
  145.     ServerSettings:
  146.     -   structSize: uint32
  147.     -   serverName: string, lst 128
  148.     -   maxPlayers: uint32
  149.     -   port: uint32
  150.     -   flags: uint32
  151.  
  152.     PluginInfo:
  153.     -   structSize: uint32
  154.     -   pluginId: uint32
  155.     -   name: string, lst 32
  156.     -   pluginVersion: uint32
  157.     -   apiMajorVersion: uint16
  158.     -   apiMinorVersion: uint16
  159.  
  160. PluginFuncs:
  161. -   structSize: uint32
  162.  
  163. -   GetServerVersion:
  164.         return: void
  165. -   GetServerSettings:
  166.         return: VcmpError
  167.         arguments:
  168.         -   settings: ServerSettings, ret
  169. -   ExportFunctions:
  170.         return: VcmpError
  171.         arguments:
  172.         -   pluginId: int32
  173.         -   functionList: function, lst ~
  174.         -   size: size, len functionList
  175. -   GetNumberOfPlugins:
  176.         return: uint32
  177. -   GetPluginInfo:
  178.         return: VcmpError
  179.         arguments:
  180.         -   pluginId: int32
  181.         -   pluginInfo: PluginInfo, ret
  182. -   FindPlugin:
  183.         return: int32
  184.         arguments:
  185.         -   pluginName: string, lst ~
  186. -   GetPluginExports:
  187.         return: function, lst ~
  188.         arguments:
  189.         -   pluginId: int32
  190.         -   exportCount: size, len rval, ret
  191. -   SendPluginCommand:
  192.         return: VcmpError
  193.         arguments:
  194.         -   commandIdentifier: uint32
  195.         -   format: string, lst ~, fmt
  196. -   GetTime:
  197.         return: uint64
  198. -   LogMessage:
  199.         return: VcmpError
  200.         arguments:
  201.         -   format: string, lst ~
  202. -   GetLastError:
  203.         return: VcmpError
  204.  
  205. -   SendClientScriptData:
  206.         return: VcmpError
  207.         arguments:
  208.         -   playerId: int32
  209.         -   data: dynamic
  210.         -   size: size, len data
  211. -   SendClientMessage:
  212.         return: VcmpError
  213.         arguments:
  214.         -   playerId: int32
  215.         -   color: uint32
  216.         -   format: string, lst ~, fmt
  217. -   SendGameMessage:
  218.         return: VcmpError
  219.         arguments:
  220.         -   playerId: int32
  221.         -   type: int32
  222.         -   format: string, lst ~, fmt
  223.  
  224. -   SetServerName:
  225.         return: VcmpError
  226.         arguments:
  227.         -   text: tring
  228. -   GetServerName:
  229.         return: VcmpError
  230.         arguments:
  231.         -   buffer: string, lst ~, ret
  232.         -   size: size, len buffer, ret
  233. -   SetMaxPlayers:
  234.         return: VcmpError
  235.         arguments:
  236.         -   maxPlayers: uint32
  237. -   GetMaxPlayers:
  238.         return: uint32
  239.         arguments:
  240. -   SetServerPassword:
  241.         return: VcmpError
  242.         arguments:
  243.         -   password: string, lst ~
  244. -   GetServerPassword:
  245.         return: VcmpError
  246.         arguments:
  247.         -   buffer: string, lst ~, ret
  248.         -   size: size, len buffer, ret
  249. -   SetGamemodeText:
  250.         return: VcmpError
  251.         arguments:
  252.         -   gamemode: string, lst ~
  253. -   GetGamemodeText:
  254.         return: VcmpError
  255.         arguments:
  256.         -   buffer: string, lst ~, ret
  257.         -   size: size, len buffer, ret
  258. -   ShutdownServer:
  259.         return: void
  260.  
  261. -   SetServerOption:
  262.         return: VcmpError
  263.         arguments:
  264.         -   option: VcmpServerOption
  265.         -   toggle: bool
  266. -   GetServerOption:
  267.         return: uint8
  268.         arguments:
  269.         -   option: VcmpServerOption
  270. -   SetWorldBounds:
  271.         return: void
  272.         arguments:
  273.         -   maxX: float
  274.         -   minX: float
  275.         -   maxY: float
  276.         -   minY: float
  277. -   GetWorldBounds:
  278.         return: void
  279.         arguments:
  280.         -   maxX: float, ret
  281.         -   minX: float, ret
  282.         -   maxY: float, ret
  283.         -   minY: float, ret
  284. -   SetWastedSettings:
  285.         return: void
  286.         arguments:
  287.         -   deathTimer: uint32
  288.         -   fadeTimer: uint32
  289.         -   fadeInSpeed: float
  290.         -   fadeOutSpeed: float
  291.         -   fadeColor: uint32
  292.         -   corpseFadeStart: uint32
  293.         -   corpseFadeTime: uint32
  294. -   GetWastedSettings:
  295.         return: void
  296.         arguments:
  297.         -   deathTimer: uint32, ret
  298.         -   fadeTimer: uint32, ret
  299.         -   fadeInSpeed: float, ret
  300.         -   fadeOutSpeed: float, ret
  301.         -   fadeColour: uint32, ret
  302.         -   corpseFadeStart: uint32, ret
  303.         -   corpseFadeTime: uint32, ret
  304. -   SetTimeRate:
  305.         return: void
  306.         arguments:
  307.         -   timeRate: int32
  308. -   GetTimeRate:
  309.         return: int32
  310. -   SetHour:
  311.         return: void
  312.         arguments:
  313.         -   hour: int32
  314. -   GetHour:
  315.         return: int32
  316. -   SetMinute:
  317.         return: void
  318.         arguments:
  319.         -   minute: int32
  320. -   GetMinute:
  321.         return: int32
  322. -   SetWeather:
  323.         return: void
  324.         arguments:
  325.         -   weather: int32
  326. -   GetWeather:
  327.         return: int32
  328. -   SetGravity:
  329.         return: void
  330.         arguments:
  331.         -   gravity: float
  332. -   GetGravity:
  333.         return: float
  334. -   SetGameSpeed:
  335.         return: void
  336.         arguments:
  337.         -   gameSpeed: float
  338. -   GetGameSpeed:
  339.         return: float
  340. -   SetWaterLevel:
  341.         return: void
  342.         arguments:
  343.         -   waterLevel: float
  344. -   GetWaterLevel:
  345.         return: float
  346. -   SetMaximumFlightAltitude:
  347.         return: void
  348.         arguments:
  349.         -   height: float
  350. -   GetMaximumFlightAltitude:
  351.         return: float
  352. -   SetKillCommandDelay:
  353.         return: void
  354.         arguments:
  355.         -   delay: int32
  356. -   GetKillCommandDelay:
  357.         return: int32
  358. -   SetVehiclesForcedRespawnHeight:
  359.         return: void
  360.         arguments:
  361.         -   height: float
  362. -   GetVehiclesForcedRespawnHeight:
  363.         return: float
  364.  
  365. -   CreateExplosion:
  366.         return: VcmpError
  367.         arguments:
  368.         -   worldId: int32
  369.         -   type: int32
  370.         -   x: float
  371.         -   y: float
  372.         -   z: float
  373.         -   responsiblePlayerId: int32
  374.         -   atGroundLevel: bool
  375. -   PlaySound:
  376.         return: VcmpError
  377.         arguments:
  378.         -   worldId: int32
  379.         -   soundId: int32
  380.         -   x: float
  381.         -   y: float
  382.         -   z: float
  383. -   HideMapObject:
  384.         return: void
  385.         arguments:
  386.         -   modelId: int32
  387.         -   tenthX: int16
  388.         -   tenthY: int16
  389.         -   tenthZ: int16
  390. -   ShowMapObject:
  391.         return: void
  392.         arguments:
  393.         -   modelId: int32
  394.         -   tenthX: int16
  395.         -   tenthY: int16
  396.         -   tenthZ: int16
  397. -   ShowAllMapObjects:
  398.         return: void
  399.  
  400. -   SetWeaponDataValue:
  401.         return: void
  402.         arguments:
  403.         -   weaponId: int32
  404.         -   fieldId: int32
  405.         -   value: double
  406. -   GetWeaponDataValue:
  407.         return: double
  408.         arguments:
  409.         -   weaponId: int32
  410.         -   fieldId: int32
  411. -   ResetWeaponDataValue:
  412.         return: VcmpError
  413.         arguments:
  414.         -   weaponId: int32
  415.         -   fieldId: int32
  416. -   IsWeaponDataValueModified:
  417.         return: bool
  418.         arguments:
  419.         -   weaponId: int32
  420.         -   fieldId: int32
  421. -   ResetWeaponData:
  422.         return: VcmpError
  423.         arguments:
  424.         -   weaponId: int32
  425. -   ResetAllWeaponData:
  426.         return: void
  427.  
  428. -   GetKeyBindUnusedSlot:
  429.         return: int32
  430. -   GetKeyBindData:
  431.         return: VcmpError
  432.         arguments:
  433.         -   bindId: int32
  434.         -   isCalledOnRelease: bool, ret
  435.         -   keyOne: int32, ret
  436.         -   keyTwo: int32, ret
  437.         -   keyThree: int32, ret
  438. -   RegisterKeyBind:
  439.         return: VcmpError
  440.         arguments:
  441.         -   bindId: int32
  442.         -   isCalledOnRelease: bool
  443.         -   keyOne: int32
  444.         -   keyTwo: int32
  445.         -   keyThree: int32
  446. -   RemoveKeyBind:
  447.         return: VcmpError
  448.         arguments:
  449.         -   bindId: int32
  450. -   RemoveAllKeyBinds:
  451.         return: void
  452.  
  453. -   CreateCoordBlip:
  454.         return: int32
  455.         arguments:
  456.         -   index: int32
  457.         -   world: int32
  458.         -   x: float
  459.         -   y: float
  460.         -   z: float
  461.         -   scale: int32
  462.         -   color: uint32
  463.         -   sprite: int32
  464. -   DestroyCoordBlip:
  465.         return: VcmpError
  466.         arguments:
  467.         -   index: int32
  468. -   GetCoordBlipInfo:
  469.         return: int32
  470.         arguments:
  471.         -   index: int32, ret
  472.         -   world: int32, ret
  473.         -   x: float, ret
  474.         -   y: float, ret
  475.         -   z: float, ret
  476.         -   scale: int32, ret
  477.         -   color: uint32, ret
  478.         -   sprite: int32, ret
  479.  
  480. -   AddRadioStream:
  481.         return: VcmpError
  482.         arguments:
  483.         -   radioId: int32
  484.         -   radioName: string, lst ~
  485.         -   radioUrl: string, lst ~
  486.         -   isListed: bool
  487. -   RemoveRadioStream:
  488.         return: VcmpError
  489.         arguments:
  490.         -   radioId: int32
  491.  
  492. -   AddPlayerClass:
  493.         return: int32
  494.         arguments:
  495.         -   teamId: int32
  496.         -   colour: uint32
  497.         -   modelIndex: int32
  498.         -   x: float
  499.         -   y: float
  500.         -   z: float
  501.         -   angle: float
  502.         -   weaponOne: int32
  503.         -   weaponOneAmmo: int32
  504.         -   weaponTwo: int32
  505.         -   weaponTwoAmmo: int32
  506.         -   weaponThree: int32
  507.         -   weaponThreeAmmo: int32
  508. -   SetSpawnPlayerPosition:
  509.         return: void
  510.         arguments:
  511.         -   x: float
  512.         -   y: float
  513.         -   z: float
  514. -   SetSpawnCameraPosition:
  515.         return: void
  516.         arguments:
  517.         -   x: float
  518.         -   y: float
  519.         -   z: float
  520. -   SetSpawnCameraLookAt:
  521.         return: void
  522.         arguments:
  523.         -   x: float
  524.         -   y: float
  525.         -   z: float
  526.  
  527. -   IsPlayerAdmin:
  528.         return: bool
  529.         arguments:
  530.         -   playerId: int32
  531. -   SetPlayerAdmin:
  532.         return: VcmpError
  533.         arguments:
  534.         -   playerId: int32
  535.         -   toggle: bool
  536. -   GetPlayerIP:
  537.         return: VcmpError
  538.         arguments:
  539.         -   playerId: int32
  540.         -   buffer: string, lst ~, ret
  541.         -   size: size, len buffer, ret
  542. -   GetPlayerUID:
  543.         return: VcmpError
  544.         arguments:
  545.         -   playerId: int32
  546.         -   buffer: string, lst ~, ret
  547.         -   size: size, len buffer, ret
  548. -   GetPlayerUID2:
  549.         return: VcmpError
  550.         arguments:
  551.         -   playerId: int32
  552.         -   buffer: string, lst ~, ret
  553.         -   size: size, len buffer, ret
  554. -   KickPlayer:
  555.         return: VcmpError
  556.         arguments:
  557.         -   playerId: int32
  558. -   BanPlayer:
  559.         return: VcmpError
  560.         arguments:
  561.         -   playerId: int32
  562. -   BanIP:
  563.         return: void
  564.         arguments:
  565.         -   ipAddress: string, lst ~
  566. -   UnbanIP:
  567.         return: bool
  568.         arguments:
  569.         -   ipAddress: string, lst ~
  570. -   IsIPBanned:
  571.         return: bool
  572.         arguments:
  573.         -   ipAddress: string, lst ~
  574.  
  575. -   GetPlayerIdFromName:
  576.         return: int32
  577.         arguments:
  578.         -   name: string, lst ~
  579. -   IsPlayerConnected:
  580.         return: bool
  581.         arguments:
  582.         -   playerId: int32
  583. -   IsPlayerStreamedForPlayer:
  584.         return: bool
  585.         arguments:
  586.         -   checkedPlayerId: int32
  587.         -   playerId: int32
  588. -   GetPlayerKey:
  589.         return: uint32
  590.         arguments:
  591.         -   playerId: int32
  592. -   GetPlayerName:
  593.         return: VcmpError
  594.         arguments:
  595.         -   playerId: int32
  596.         -   buffer: string, lst ~, ret
  597.         -   size: size, len buffer, ret
  598. -   SetPlayerName:
  599.         return: VcmpError
  600.         arguments:
  601.         -   playerId: int32
  602.         -   name: string, lst ~
  603. -   GetPlayerState:
  604.         return: vcmpPlayerState
  605.         arguments:
  606.         -   playerId: int32
  607. -   SetPlayerOption:
  608.         return: VcmpError
  609.         arguments:
  610.         -   playerId: int32
  611.         -   option: VcmpPlayerOption
  612.         -   toggle: bool
  613. -   GetPlayerOption:
  614.         return: bool
  615.         arguments:
  616.         -   playerId: int32
  617.         -   option: VcmpPlayerOption
  618.  
  619. -   SetPlayerWorld:
  620.         return: VcmpError
  621.         arguments:
  622.         -   playerId: int32
  623.         -   world: int32
  624. -   GetPlayerWorld:
  625.         return: int32
  626.         arguments:
  627.         -   playerId: int32
  628. -   SetPlayerSecondaryWorld:
  629.         return: VcmpError
  630.         arguments:
  631.         -   playerId: int32
  632.         -   secondaryWorld: int32
  633. -   GetPlayerSecondaryWorld:
  634.         return: int32
  635.         arguments:
  636.         -   playerId: int32
  637. -   GetPlayerUniqueWorld:
  638.         return: int32
  639.         arguments:
  640.         -   playerId: int32
  641. -   IsPlayerWorldCompatible:
  642.         return: bool
  643.         arguments:
  644.         -   playerId: int32
  645.         -   world: int32
  646.  
  647. -   GetPlayerClass:
  648.         return: int32
  649.         arguments:
  650.         -   playerId: int32
  651. -   SetPlayerTeam:
  652.         return: VcmpError
  653.         arguments:
  654.         -   playerId: int32
  655.         -   teamId: int32
  656. -   GetPlayerTeam:
  657.         return: int32
  658.         arguments:
  659.         -   playerId: int32
  660. -   SetPlayerSkin:
  661.         return: VcmpError
  662.         arguments:
  663.         -   playerId: int32
  664.         -   skinId: int32
  665. -   GetPlayerSkin:
  666.         return: int32
  667.         arguments:
  668.         -   playerId: int32
  669. -   SetPlayerColor:
  670.         return: VcmpError
  671.         arguments:
  672.         -   playerId: int32
  673.         -   color: uint32
  674. -   GetPlayerColor:
  675.         return: uint32
  676.         arguments:
  677.         -   playerId: int32
  678.  
  679. -   IsPlayerSpawned:
  680.         return: bool
  681.         arguments:
  682.         -   playerId: int32
  683. -   ForcePlayerSpawn:
  684.         return: VcmpError
  685.         arguments:
  686.         -   playerId: int32
  687. -   ForcePlayerSelect:
  688.         return: VcmpError
  689.         arguments:
  690.         -   playerId: int32
  691. -   ForceAllSelect:
  692.         return: void
  693. -   IsPlayerTyping:
  694.         return: bool
  695.         arguments:
  696.         -   playerId: int32
  697.  
  698. -   GivePlayerMoney:
  699.         return: VcmpError
  700.         arguments:
  701.         -   playerId: int32
  702.         -   amount: int32
  703. -   SetPlayerMoney:
  704.         return: VcmpError
  705.         arguments:
  706.         -   playerId: int32
  707.         -   amount: int32
  708. -   GetPlayerMoney:
  709.         return: int32
  710.         arguments:
  711.         -   playerId: int32
  712. -   SetPlayerScore:
  713.         return: VcmpError
  714.         arguments:
  715.         -   playerId: int32
  716.         -   score: int32
  717. -   GetPlayerScore:
  718.         return: int32
  719.         arguments:
  720.         -   playerId: int32
  721. -   SetPlayerWantedLevel:
  722.         return: VcmpError
  723.         arguments:
  724.         -   playerId: int32
  725.         -   level: int32
  726. -   GetPlayerWantedLevel:
  727.         return: int32
  728.         arguments:
  729.         -   playerId: int32
  730. -   GetPlayerPing:
  731.         return: int32
  732.         arguments:
  733.         -   playerId: int32
  734. -   GetPlayerFPS:
  735.         return: double
  736.         arguments:
  737.         -   playerId: int32
  738.  
  739. -   SetPlayerHealth:
  740.         return: VcmpError
  741.         arguments:
  742.         -   playerId: int32
  743.         -   health: float
  744. -   GetPlayerHealth:
  745.         return: float
  746.         arguments:
  747.         -   playerId: int32
  748. -   SetPlayerArmor:
  749.         return: VcmpError
  750.         arguments:
  751.         -   playerId: int32
  752.         -   armor: float
  753. -   GetPlayerArmor:
  754.         return: float
  755.         arguments:
  756.         -   playerId: int32
  757. -   SetPlayerImmunityFlags:
  758.         return: VcmpError
  759.         arguments:
  760.         -   playerId: int32
  761.         -   flags: uint32
  762. -   GetPlayerImmunityFlags:
  763.         return: uint32
  764.         arguments:
  765.         -   playerId: int32
  766.  
  767. -   SetPlayerPosition:
  768.         return: VcmpError
  769.         arguments:
  770.         -   playerId: int32
  771.         -   x: float
  772.         -   y: float
  773.         -   z: float
  774. -   GetPlayerPosition:
  775.         return: VcmpError
  776.         arguments:
  777.         -   playerId: int32
  778.         -   x: float, ret
  779.         -   y: float, ret
  780.         -   z: float, ret
  781. -   SetPlayerSpeed:
  782.         return: VcmpError
  783.         arguments:
  784.         -   playerId: int32
  785.         -   x: float
  786.         -   y: float
  787.         -   z: float
  788. -   GetPlayerSpeed:
  789.         return: VcmpError
  790.         arguments:
  791.         -   playerId: int32
  792.         -   x: float, ret
  793.         -   y: float, ret
  794.         -   z: float, ret
  795. -   AddPlayerSpeed:
  796.         return: VcmpError
  797.         arguments:
  798.         -   playerId: int32
  799.         -   x: float
  800.         -   y: float
  801.         -   z: float
  802. -   SetPlayerHeading:
  803.         return: VcmpError
  804.         arguments:
  805.         -   playerId: int32
  806.         -   angle: float
  807. -   GetPlayerHeading:
  808.         return: float
  809.         arguments:
  810.         -   playerId: int32
  811. -   SetPlayerAlpha:
  812.         return: VcmpError
  813.         arguments:
  814.         -   playerId: int32
  815.         -   alpha: int32
  816.         -   fadeTime: uint32
  817. -   GetPlayerAlpha:
  818.         return: int32
  819.         arguments:
  820.         -   playerId: int32
  821. -   GetPlayerAimPosition:
  822.         return: VcmpError
  823.         arguments:
  824.         -   x: float, ret
  825.         -   y: float, ret
  826.         -   z: float, ret
  827. -   GetPlayerAimDirection:
  828.         return: VcmpError
  829.         arguments:
  830.         -   x: float, ret
  831.         -   y: float, ret
  832.         -   z: float, ret
  833.  
  834. -   IsPlayerOnFire:
  835.         return: bool
  836.         arguments:
  837.         -   playerId: int32
  838. -   IsPlayerCrouching:
  839.         return: bool
  840.         arguments:
  841.         -   playerId: int32
  842. -   GetPlayerAction:
  843.         return: int32
  844.         arguments:
  845.         -   playerId: int32
  846. -   GetPlayerGameKeys:
  847.         return: uint32
  848.         arguments:
  849.         -   playerId: int32
  850.  
  851. -   PutPlayerInVehicle:
  852.         return: VcmpError
  853.         arguments:
  854.         -   playerId: int32
  855.         -   vehicleId: int32
  856.         -   slotIndex: int32
  857.         -   makeRoom: bool
  858.         -   warp: bool
  859. -   RemovePlayerFromVehicle:
  860.         return: VcmpError
  861.         arguments:
  862.         -   playerId: int32
  863. -   GetPlayerInVehicleStatus:
  864.         return: VcmpPlayerVehicle
  865.         arguments:
  866.         -   playerId: int32
  867. -   GetPlayerInVehicleSlot:
  868.         return: int32
  869.         arguments:
  870.         -   playerId: int32
  871. -   GetPlayerVehicleId:
  872.         return: int32
  873.         arguments:
  874.         -   playerId: int32
  875.  
  876. -   GivePlayerWeapon:
  877.         return: VcmpError
  878.         arguments:
  879.         -   playerId: int32
  880.         -   weaponId: int32
  881.         -   ammo: int32
  882. -   SetPlayerWeapon:
  883.         return: VcmpError
  884.         arguments:
  885.         -   playerId: int32
  886.         -   weaponId: int32
  887.         -   ammo: int32
  888. -   GetPlayerWeapon:
  889.         return: int32
  890.         arguments:
  891.         -   playerId: int32
  892. -   GetPlayerWeaponAmmo:
  893.         return: int32
  894.         arguments:
  895.         -   playerId: int32
  896. -   SetPlayerWeaponSlot:
  897.         return: VcmpError
  898.         arguments:
  899.         -   playerId: int32
  900.         -   slot: int32
  901. -   GetPlayerWeaponSlot:
  902.         return: int32
  903.         arguments:
  904.         -   playerId: int32
  905. -   GetPlayerWeaponAtSlot:
  906.         return: int32
  907.         arguments:
  908.         -   playerId: int32
  909.         -   slot: int32
  910. -   GetPlayerAmmoAtSlot:
  911.         return: int32
  912.         arguments:
  913.         -   playerId: int32
  914.         -   slot: int32
  915. -   RemovePlayerWeapon:
  916.         return: VcmpError
  917.         arguments:
  918.         -   playerId: int32
  919.         -   weaponId: int32
  920. -   RemoveAllWeapons:
  921.         return: VcmpError
  922.         arguments:
  923.         -   playerId: int32
  924.  
  925. -   SetCameraPosition:
  926.         return: VcmpError
  927.         arguments:
  928.         -   posX: float
  929.         -   posY: float
  930.         -   posZ: float
  931.         -   lookX: float
  932.         -   lookY: float
  933.         -   lookZ: float
  934. -   RestoreCamera:
  935.         return: VcmpError
  936.         arguments:
  937.         -   playerId: int32
  938. -   IsCameraLocked:
  939.         return: bool
  940.         arguments:
  941.         -   playerId: int32
  942.  
  943. -   SetPlayerAnimation:
  944.         return: VcmpError
  945.         arguments:
  946.         -   playerId: int32
  947.         -   groupId: int32
  948.         -   animationId: int32
  949. -   GetPlayerStandingOnVehicle:
  950.         return: int32
  951.         arguments:
  952.         -   playerId: int32
  953. -   GetPlayerStandingOnObject:
  954.         return: int32
  955.         arguments:
  956.         -   playerId: int32
  957. -   IsPlayerAway:
  958.         return: bool
  959.         arguments:
  960.         -   playerId: int32
  961. -   GetPlayerSpectateTarget:
  962.         return: int32
  963.         arguments:
  964.         -   playerId: int32
  965. -   SetPlayerSpectateTarget:
  966.         return: VcmpError
  967.         arguments:
  968.         -   playerId: int32
  969.         -   targetId: int32
  970. -   RedirectPlayerToServer:
  971.         return: VcmpError
  972.         arguments:
  973.         -   playerId: int32
  974.         -   ip: string, lst ~
  975.         -   port: uint32
  976.         -   nick: string, lst ~
  977.         -   serverPassword: string, lst ~
  978.         -   userPassword: string, lst ~
  979.  
  980. -   CheckEntityExists:
  981.         return: bool
  982.         arguments:
  983.         -   entityPool: VcmpEntityPool
  984.         -   index: int32
  985.  
  986. -   CreateVehicle:
  987.         return: int32
  988.         arguments:
  989.         -   modelIndex: int32
  990.         -   world: int32
  991.         -   x: float
  992.         -   y: float
  993.         -   z: float
  994.         -   angle: float
  995.         -   primaryColor: int32
  996.         -   secondaryColor: int32
  997. -   DeleteVehicle:
  998.         return: VcmpError
  999.         arguments:
  1000.         -   vehicleId: int32
  1001. -   SetVehicleOption:
  1002.         return: VcmpError
  1003.         arguments:
  1004.         -   vehicleId: int32
  1005.         -   option: VcmpVehicleOption
  1006.         -   toggle: bool
  1007. -   GetVehicleOption:
  1008.         return: bool
  1009.         arguments:
  1010.         -   vehicleId: int32
  1011.         -   option: VcmpVehicleOption
  1012. -   GetVehicleSyncSource:
  1013.         return: int32
  1014.         arguments:
  1015.         -   vehicleId: int32
  1016. -   GetVehicleSyncType:
  1017.         return: VcmpVehicleSync
  1018.         arguments:
  1019.         -   vehicleId: int32
  1020. -   IsVehicleStreamedForPlayer:
  1021.         return: bool
  1022.         arguments:
  1023.         -   vehicleId: int32
  1024.         -   playerId: int32
  1025. -   SetVehicleWorld:
  1026.         return: VcmpError
  1027.         arguments:
  1028.         -   vehicleId: int32
  1029.         -   world: int32
  1030. -   GetVehicleWorld:
  1031.         return: int32
  1032.         arguments:
  1033.         -   vehicleId: int32
  1034. -   GetVehicleModel:
  1035.         return: int32
  1036.         arguments:
  1037.         -   vehicleId: int32
  1038. -   GetVehicleOccupant:
  1039.         return: int32
  1040.         arguments:
  1041.         -   vehicleId: int32
  1042.         -   slotIndex: int32
  1043. -   RespawnVehicle:
  1044.         return: VcmpError
  1045.         arguments:
  1046.         -   vehicleId: int32
  1047. -   SetVehicleImmunityFlags:
  1048.         return: VcmpError
  1049.         arguments:
  1050.         -   vehicleId: int32
  1051.         -   immunityFlags: uint32
  1052. -   GetVehicleImmunityFlags:
  1053.         return: uint32
  1054.         arguments:
  1055.         -   vehicleId: int32
  1056. -   ExplodeVehicle:
  1057.         return: VcmpError
  1058.         arguments:
  1059.         -   vehicleId: int32
  1060. -   IsVehicleWrecked:
  1061.         return: bool
  1062.         arguments:
  1063.         -   vehicleId: int32
  1064. -   SetVehiclePosition:
  1065.         return: VcmpError
  1066.         arguments:
  1067.         -   vehicleId: int32
  1068.         -   x: float
  1069.         -   y: float
  1070.         -   z: float
  1071.         -   removeOccupants: bool
  1072. -   GetVehiclePosition:
  1073.         return: VcmpError
  1074.         arguments:
  1075.         -   vehicleId: int32
  1076.         -   x: float, ret
  1077.         -   y: float, ret
  1078.         -   z: float, ret
  1079. -   SetVehicleRotation:
  1080.         return: VcmpError
  1081.         arguments:
  1082.         -   vehicleId: int32
  1083.         -   x: float
  1084.         -   y: float
  1085.         -   z: float
  1086.         -   w: float
  1087. -   SetVehicleRotationEuler:
  1088.         return: VcmpError
  1089.         arguments:
  1090.         -   vehicleId: int32
  1091.         -   x: float
  1092.         -   y: float
  1093.         -   z: float
  1094. -   GetVehicleRotation:
  1095.         return: VcmpError
  1096.         arguments:
  1097.         -   vehicleId: int32
  1098.         -   x: float, ret
  1099.         -   y: float, ret
  1100.         -   z: float, ret
  1101.         -   w: float, ret
  1102. -   GetVehicleRotationEuler:
  1103.         return: VcmpError
  1104.         arguments:
  1105.         -   vehicleId: int32
  1106.         -   x: float, ret
  1107.         -   y: float, ret
  1108.         -   z: float, ret
  1109. -   SetVehicleSpeed:
  1110.         return: VcmpError
  1111.         arguments:
  1112.         -   vehicleId: int32
  1113.         -   x: float
  1114.         -   y: float
  1115.         -   z: float
  1116.         -   add: bool
  1117.         -   relative: bool
  1118. -   GetVehicleSpeed:
  1119.         return: VcmpError
  1120.         arguments:
  1121.         -   vehicleId: int32
  1122.         -   x: float, ret
  1123.         -   y: float, ret
  1124.         -   z: float, ret
  1125.         -   relative: bool
  1126. -   SetVehicleTurnSpeed:
  1127.         return: VcmpError
  1128.         arguments:
  1129.         -   vehicleId: int32
  1130.         -   x: float
  1131.         -   y: float
  1132.         -   z: float
  1133.         -   add: bool
  1134.         -   relative: bool
  1135. -   GetVehicleTurnSpeed:
  1136.         return: VcmpError
  1137.         arguments:
  1138.         -   vehicleId: int32
  1139.         -   x: float, ret
  1140.         -   y: float, ret
  1141.         -   z: float, ret
  1142.         -   relative: bool
  1143. -   SetVehicleSpawnPosition:
  1144.         return: VcmpError
  1145.         arguments:
  1146.         -   vehicleId: int32
  1147.         -   x: float
  1148.         -   y: float
  1149.         -   z: float
  1150. -   GetVehicleSpawnPosition:
  1151.         return: VcmpError
  1152.         arguments:
  1153.         -   vehicleId: int32
  1154.         -   x: float, ret
  1155.         -   y: float, ret
  1156.         -   z: float, ret
  1157. -   SetVehicleSpawnRotation:
  1158.         return: VcmpError
  1159.         arguments:
  1160.         -   vehicleId: int32
  1161.         -   x: float
  1162.         -   y: float
  1163.         -   z: float
  1164.         -   w: float
  1165. -   SetVehicleSpawnRotationEuler:
  1166.         return: VcmpError
  1167.         arguments:
  1168.         -   vehicleId: int32
  1169.         -   x: float
  1170.         -   y: float
  1171.         -   z: float
  1172. -   GetVehicleSpawnRotation:
  1173.         return: VcmpError
  1174.         arguments:
  1175.         -   vehicleId: int32
  1176.         -   x: float, ret
  1177.         -   y: float, ret
  1178.         -   z: float, ret
  1179.         -   w: float
  1180. -   GetVehicleSpawnRotationEuler:
  1181.         return: VcmpError
  1182.         arguments:
  1183.         -   vehicleId: int32
  1184.         -   x: float, ret
  1185.         -   y: float, ret
  1186.         -   z: float, ret
  1187. -   SetVehicleIdleRespawnTimer:
  1188.         return: VcmpError
  1189.         arguments:
  1190.         -   vehicleId: int32
  1191.         -   milliseconds: uint32
  1192. -   GetVehicleIdleRespawnTimer:
  1193.         return: uint32
  1194.         arguments:
  1195.         -   vehicleId: int32
  1196. -   SetVehicleHealth:
  1197.         return: VcmpError
  1198.         arguments:
  1199.         -   vehicleId: int32
  1200.         -   health: float
  1201. -   GetVehicleHealth:
  1202.         return: float
  1203.         arguments:
  1204.         -   vehicleId: int32
  1205. -   SetVehicleColor:
  1206.         return: VcmpError
  1207.         arguments:
  1208.         -   vehicleId: int32
  1209.         -   primaryColor: int32
  1210.         -   secondaryColor: int32
  1211. -   GetVehicleColor:
  1212.         return: VcmpError
  1213.         arguments:
  1214.         -   vehicleId: int32, ret
  1215.         -   primaryColor: int32, ret
  1216.         -   secondaryColor: int32, ret
  1217. -   SetVehiclePartStatus:
  1218.         return: VcmpError
  1219.         arguments:
  1220.         -   vehicleId: int32
  1221.         -   partId: int32
  1222.         -   status: int32
  1223. -   GetVehiclePartStatus:
  1224.         return: int32
  1225.         arguments:
  1226.         -   vehicleId: int32
  1227.         -   partId: int32
  1228. -   SetVehicleTireStatus:
  1229.         return: VcmpError
  1230.         arguments:
  1231.         -   vehicleId: int32
  1232.         -   tireId: int32
  1233.         -   status: int32
  1234. -   GetVehicleTireStatus:
  1235.         return: int32
  1236.         arguments:
  1237.         -   vehicleId: int32
  1238.         -   tireId: int32
  1239. -   SetVehicleDamageData:
  1240.         return: VcmpError
  1241.         arguments:
  1242.         -   vehicleId: int32
  1243.         -   damageData: uint32
  1244. -   GetVehicleDamageData:
  1245.         return: uint32
  1246.         arguments:
  1247.         -   vehicleId: int32
  1248. -   SetVehicleRadio:
  1249.         return: VcmpError
  1250.         arguments:
  1251.         -   vehicleId: int32
  1252.         -   radioId: int32
  1253. -   GetVehicleRadio:
  1254.         return: int32
  1255.         arguments:
  1256.         -   vehicleId: int32
  1257. -   GetVehicleTurretRotation:
  1258.         return: VcmpError
  1259.         arguments:
  1260.         -   vehicleId: int32
  1261.         -   horizontal: float, ret
  1262.         -   vertical: float, ret
  1263.  
  1264. -   ResetAllVehicleHandlings:
  1265.         return: void
  1266. -   ExistsHandlingRule:
  1267.         return: bool
  1268.         arguments:
  1269.         -   modelIndex: int32
  1270.         -   ruleIndex: int32
  1271. -   SetHandlingRule:
  1272.         return: VcmpError
  1273.         arguments:
  1274.         -   modelIndex: int32
  1275.         -   ruleIndex: int32
  1276.         -   value: double
  1277. -   GetHandlingRule:
  1278.         return: double
  1279.         arguments:
  1280.         -   modelIndex: int32
  1281.         -   ruleIndex: int32
  1282. -   ResetHandlingRule:
  1283.         return: double
  1284.         arguments:
  1285.         -   modelIndex: int32
  1286.         -   ruleIndex: int32
  1287. -   ResetHandling:
  1288.         return: double
  1289.         arguments:
  1290.         -   modelIndex: int32
  1291. -   ExistsInstHandlingRule:
  1292.         return: bool
  1293.         arguments:
  1294.         -   vehicleId: int32
  1295.         -   ruleIndex: int32
  1296. -   SetInstHandlingRule:
  1297.         return: VcmpError
  1298.         arguments:
  1299.         -   vehicleId: int32
  1300.         -   ruleIndex: int32
  1301.         -   value: double
  1302. -   GetInstHandlingRule:
  1303.         return: double
  1304.         arguments:
  1305.         -   vehicleId: int32
  1306.         -   ruleIndex: int32
  1307. -   ResetInstHandlingRule:
  1308.         return: double
  1309.         arguments:
  1310.         -   vehicleId: int32
  1311.         -   ruleIndex: int32
  1312. -   ResetInstHandling:
  1313.         return: double
  1314.         arguments:
  1315.         -   vehicleId: int32
  1316.  
  1317. -   CreatePickup:
  1318.         return: int32
  1319.         arguments:
  1320.         -   modelIndex: int32
  1321.         -   world: int32
  1322.         -   quantity: int32
  1323.         -   x: float
  1324.         -   y: float
  1325.         -   z: float
  1326.         -   alpha: int32
  1327.         -   isAutomatic: bool
  1328. -   DeletePickup:
  1329.         return: VcmpError
  1330.         arguments:
  1331.         -   pickupId: int32
  1332. -   IsPickupStreamedForPlayer:
  1333.         return: bool
  1334.         arguments:
  1335.         -   pickupId: int32
  1336.         -   playerId: int32
  1337. -   SetPickupWorld:
  1338.         return: VcmpError
  1339.         arguments:
  1340.         -   pickupId: int32
  1341.         -   world: int32
  1342. -   GetPickupWorld:
  1343.         return: int32
  1344.         arguments:
  1345.         -   pickupId: int32
  1346. -   SetPickupAlpha:
  1347.         return: VcmpError
  1348.         arguments:
  1349.         -   pickupId: int32
  1350.         -   alpha: int32
  1351. -   GetPickupAlpha:
  1352.         return: int32
  1353.         arguments:
  1354.         -   pickupId: int32
  1355. -   SetPickupIsAutomatic:
  1356.         return: VcmpError
  1357.         arguments:
  1358.         -   pickupId: int32
  1359.         -   toggle: bool
  1360. -   IsPickupAutomatic:
  1361.         return: bool
  1362.         arguments:
  1363.         -   pickupId: int32
  1364. -   SetPickupAutoTimer:
  1365.         return: VcmpError
  1366.         arguments:
  1367.         -   pickupId: int32
  1368.         -   durationMilliseconds: uint32
  1369. -   GetPickupAutoTimer:
  1370.         return: uint32
  1371.         arguments:
  1372.         -   pickupId: int32
  1373. -   RefreshPickup:
  1374.         return: VcmpError
  1375.         arguments:
  1376.         -   pickupId: int32
  1377. -   SetPickupPosition:
  1378.         return: VcmpError
  1379.         arguments:
  1380.         -   pickupId: int32
  1381.         -   x: float
  1382.         -   y: float
  1383.         -   z: float
  1384. -   GetPickupPosition:
  1385.         return: VcmpError
  1386.         arguments:
  1387.         -   pickupId: int32
  1388.         -   x: float, ret
  1389.         -   y: float, ret
  1390.         -   z: float, ret
  1391. -   GetPickupModel:
  1392.         return: int32
  1393.         arguments:
  1394.         -   pickupId: int32
  1395. -   GetPickupQuantity:
  1396.         return: int32
  1397.         arguments:
  1398.         -   pickupId: int32
  1399.  
  1400. -   CreateCheckpoint:
  1401.         return: int32
  1402.         arguments:
  1403.         -   playerId: int32
  1404.         -   world: int32
  1405.         -   isSphere: bool
  1406.         -   x: float
  1407.         -   y: float
  1408.         -   z: float
  1409.         -   red: int32
  1410.         -   green: int32
  1411.         -   blue: int32
  1412.         -   alpha: int32
  1413.         -   radius: float
  1414. -   DeleteCheckpoint:
  1415.         return: VcmpError
  1416.         arguments:
  1417.         -   checkpointId: int32
  1418. -   IsCheckpointStreamedForPlayer:
  1419.         return: bool
  1420.         arguments:
  1421.         -   checkpointId: int32
  1422.         -   playerId: int32
  1423. -   IsCheckpointSphere:
  1424.         return: bool
  1425.         arguments:
  1426.         -   checkpointId: int32
  1427. -   SetCheckpointWorld:
  1428.         return: VcmpError
  1429.         arguments:
  1430.         -   checkpointId: int32
  1431.         -   world: int32
  1432. -   GetCheckpointWorld:
  1433.         return: int32
  1434.         arguments:
  1435.         -   checkpointId: int32
  1436. -   SetCheckpointColor:
  1437.         return: VcmpError
  1438.         arguments:
  1439.         -   checkpointId: int32
  1440.         -   red: int32
  1441.         -   green: int32
  1442.         -   blue: int32
  1443.         -   alpha: int32
  1444. -   GetCheckpointColor:
  1445.         return: VcmpError
  1446.         arguments:
  1447.         -   checkpointId: int32
  1448.         -   red: int32, ret
  1449.         -   green: int32, ret
  1450.         -   blue: int32, ret
  1451.         -   alpha: int32, ret
  1452. -   SetCheckpointPosition:
  1453.         return: VcmpError
  1454.         arguments:
  1455.         -   checkpointId: int32
  1456.         -   x: float
  1457.         -   y: float
  1458.         -   z: float
  1459. -   GetCheckpointPosition:
  1460.         return: VcmpError
  1461.         arguments:
  1462.         -   checkpointId: int32
  1463.         -   x: float, ret
  1464.         -   y: float, ret
  1465.         -   z: float, ret
  1466. -   SetCheckpointRadius:
  1467.         return: VcmpError
  1468.         arguments:
  1469.         -   checkpointId: int32
  1470.         -   radius: float
  1471. -   GetCheckpointRadius:
  1472.         return: float
  1473.         arguments:
  1474.         -   checkpointId: int32
  1475. -   GetCheckpointOwner:
  1476.         return: int32
  1477.         arguments:
  1478.         -   checkpointId: int32
  1479.  
  1480. -   CreateObject:
  1481.         return: int32
  1482.         arguments:
  1483.         -   modelIndex: int32
  1484.         -   world: int32
  1485.         -   x: float
  1486.         -   y: float
  1487.         -   z: float
  1488.         -   alpha: int32
  1489. -   DeleteObject:
  1490.         return: VcmpError
  1491.         arguments:
  1492.         -   objectId: int32
  1493. -   IsObjectStreamedForPlayer:
  1494.         return: bool
  1495.         arguments:
  1496.         -   objectId: int32
  1497.         -   playerId: int32
  1498. -   GetObjectModel:
  1499.         return: int32
  1500.         arguments:
  1501.         -   objectId: int32
  1502. -   SetObjectWorld:
  1503.         return: VcmpError
  1504.         arguments:
  1505.         -   objectId: int32
  1506.         -   world: int32
  1507. -   GetObjectWorld:
  1508.         return: int32
  1509.         arguments:
  1510.         -   objectId: int32
  1511. -   SetObjectAlpha:
  1512.         return: VcmpError
  1513.         arguments:
  1514.         -   objectId: int32
  1515.         -   alpha: int32
  1516.         -   duration: uint32
  1517. -   GetObjectAlpha:
  1518.         return: int32
  1519.         arguments:
  1520.         -   objectId: int32
  1521. -   MoveObjectTo:
  1522.         return: VcmpError
  1523.         arguments:
  1524.         -   objectId: int32
  1525.         -   x: float
  1526.         -   y: float
  1527.         -   z: float
  1528.         -   duration: uint32
  1529. -   MoveObjectBy:
  1530.         return: VcmpError
  1531.         arguments:
  1532.         -   objectId: int32
  1533.         -   x: float
  1534.         -   y: float
  1535.         -   z: float
  1536.         -   duration: uint32
  1537. -   SetObjectPosition:
  1538.         return: VcmpError
  1539.         arguments:
  1540.         -   objectId: int32
  1541.         -   x: float
  1542.         -   y: float
  1543.         -   z: float
  1544. -   GetObjectPosition:
  1545.         return: VcmpError
  1546.         arguments:
  1547.         -   objectId: int32
  1548.         -   x: float, ret
  1549.         -   y: float, ret
  1550.         -   z: float, ret
  1551. -   RotateObjectTo:
  1552.         return: VcmpError
  1553.         arguments:
  1554.         -   objectId: int32
  1555.         -   x: float
  1556.         -   y: float
  1557.         -   z: float
  1558.         -   w: float
  1559.         -   duration: uint32
  1560. -   RotateObjectToEuler:
  1561.         return: VcmpError
  1562.         arguments:
  1563.         -   objectId: int32
  1564.         -   x: float
  1565.         -   y: float
  1566.         -   z: float
  1567.         -   duration: uint32
  1568. -   RotateObjectBy:
  1569.         return: VcmpError
  1570.         arguments:
  1571.         -   objectId: int32
  1572.         -   x: float
  1573.         -   y: float
  1574.         -   z: float
  1575.         -   w: float
  1576.         -   duration: uint32
  1577. -   RotateObjectByEuler:
  1578.         return: VcmpError
  1579.         arguments:
  1580.         -   objectId: int32
  1581.         -   x: float
  1582.         -   y: float
  1583.         -   z: float
  1584.         -   duration: uint32
  1585. -   GetObjectRotation:
  1586.         return: VcmpError
  1587.         arguments:
  1588.         -   objectId: int32
  1589.         -   x: float, ret
  1590.         -   y: float, ret
  1591.         -   z: float, ret
  1592.         -   w: float, ret
  1593. -   GetObjectRotationEuler:
  1594.         return: VcmpError
  1595.         arguments:
  1596.         -   objectId: int32
  1597.         -   x: float, ret
  1598.         -   y: float, ret
  1599.         -   z: float, ret
  1600. -   SetObjectShotReportEnabled:
  1601.         return: VcmpError
  1602.         arguments:
  1603.         -   objectId: int32
  1604.         -   toggle: bool
  1605. -   IsObjectShotReportEnabled:
  1606.         return: bool
  1607.         arguments:
  1608.         -   objectId: int32
  1609. -   SetObjectTouchedReportEnabled:
  1610.         return: VcmpError
  1611.         arguments:
  1612.         -   objectId: int32
  1613.         -   toggle: bool
  1614. -   IsObjectTouchReportEnabled:
  1615.         return: bool
  1616.         arguments:
  1617.         -   objectId: int32
  1618.  
  1619. -   GetPlayerModuleList:
  1620.         return: VcmpError
  1621.         arguments:
  1622.         -   playerId: int32
  1623.  
  1624. -   SetPickupOption:
  1625.         return: VcmpError
  1626.         arguments:
  1627.         -   pickupId: int32
  1628.         -   option: VcmpPickupOption
  1629.         -   toggle: bool
  1630. -   GetPickupOption:
  1631.         return: bool
  1632.         arguments:
  1633.         -   pickupId: int32
  1634.         -   option: VcmpPickupOption
  1635.  
  1636. -   SetFallTimer:
  1637.         return: void
  1638.         arguments:
  1639.         -   timeRate: uint16
  1640. -   GetFallTimer:
  1641.         return: uint16
  1642.  
  1643. -   SetVehicleLightsData:
  1644.         return: VcmpError
  1645.         arguments:
  1646.         -   vehicleId: int32
  1647.         -   lightsData: uint32
  1648. -   GetVehicleLightsData:
  1649.         return: uint32
  1650.         arguments:
  1651.         -   lightsData: uint32
  1652.  
  1653. PluginCallbacks:
  1654. -   structSize: uint32
  1655.  
  1656. -   OnServerInitialize:
  1657.         return: bool
  1658. -   OnServerShutdown:
  1659.         return: void
  1660. -   OnServerFrame:
  1661.         return: void
  1662.  
  1663. -   OnPluginCommand:
  1664.         return: bool
  1665.         arguments:
  1666.         -   commandIdentifier: uint32
  1667.         -   message: string, lst ~
  1668. -   OnIncomingConnection:
  1669.         return: uint8
  1670.         arguments:
  1671.         -   playerName: string, lst ~
  1672.         -   nameBufferSize: size, len playerName
  1673.         -   userPassword: string, lst ~
  1674.         -   ipAddress: string, lst ~
  1675. -   OnClientScriptData:
  1676.         return: void
  1677.         arguments:
  1678.         -   playerId: int32
  1679.         -   data: byte, lst ~
  1680.         -   size: size, len data
  1681.  
  1682. -   OnPlayerConnect:
  1683.         return: void
  1684.         arguments:
  1685.         -   playerId: int32
  1686. -   OnPlayerDisconnect:
  1687.         return: void
  1688.         arguments:
  1689.         -   playerId: int32
  1690.         -   reason: VcmpDisconnectReason
  1691.  
  1692. -   OnPlayerRequestClass:
  1693.         return: bool
  1694.         arguments:
  1695.         -   playerId: int32
  1696.         -   offset: int32
  1697. -   OnPlayerRequestSpawn:
  1698.         return: bool
  1699.         arguments:
  1700.         -   playerId: int32
  1701. -   OnPlayerSpawn:
  1702.         return: void
  1703.         arguments:
  1704.         -   playerId: int32
  1705. -   OnPlayerDeath:
  1706.         return: void
  1707.         arguments:
  1708.         -   playerId: int32
  1709.         -   killerId: int32
  1710.         -   reason: int32
  1711.         -   bodypart: VcmpBodyPart
  1712. -   OnPlayerUpdate:
  1713.         return: void
  1714.         arguments:
  1715.         -   playerId: int32
  1716.         -   updateType: VcmpPlayerUpdate
  1717.  
  1718. -   OnPlayerRequestEnterVehicle:
  1719.         return: bool
  1720.         arguments:
  1721.         -   playerId: int32
  1722.         -   vehicleId: int32
  1723.         -   slotIndex: int32
  1724. -   OnPlayerEnterVehicle:
  1725.         return: void
  1726.         arguments:
  1727.         -   playerId: int32
  1728.         -   vehicleId: int32
  1729.         -   slotIndex: int32
  1730. -   OnPlayerExitVehicle:
  1731.         return: void
  1732.         arguments:
  1733.         -   playerId: int32
  1734.         -   vehicleId: int32
  1735.  
  1736. -   OnPlayerNameChange:
  1737.         return: void
  1738.         arguments:
  1739.         -   playerId: int32
  1740.         -   oldName: string, lst ~
  1741.         -   newName: string, lst ~
  1742. -   OnPlayerStateChange:
  1743.         return: void
  1744.         arguments:
  1745.         -   playerId: int32
  1746.         -   oldState: VcmpPlayerState
  1747.         -   newState: VcmpPlayerState
  1748. -   OnPlayerActionChange:
  1749.         return: void
  1750.         arguments:
  1751.         -   playerId: int32
  1752.         -   oldAction: int32
  1753.         -   newAction: int32
  1754. -   OnPlayerOnFireChange:
  1755.         return: void
  1756.         arguments:
  1757.         -   playerId: int32
  1758.         -   isOnFire: bool
  1759. -   OnPlayerCrouchChange:
  1760.         return: void
  1761.         arguments:
  1762.         -   playerId: int32
  1763.         -   isCrouching: bool
  1764. -   OnPlayerGameKeysChange:
  1765.         return: void
  1766.         arguments:
  1767.         -   playerId: int32
  1768.         -   oldKeys: uint32
  1769.         -   newKeys: uint32
  1770. -   OnPlayerBeginTyping:
  1771.         return: void
  1772.         arguments:
  1773.         -   playerId: int32
  1774. -   OnPlayerEndTyping:
  1775.         return: void
  1776.         arguments:
  1777.         -   playerId: int32
  1778. -   OnPlayerAwayChange:
  1779.         return: void
  1780.         arguments:
  1781.         -   playerId: int32
  1782.         -   isAway: bool
  1783.  
  1784. -   OnPlayerMessage:
  1785.         return: bool
  1786.         arguments:
  1787.         -   playerId: int32
  1788.         -   message: string, lst ~
  1789. -   OnPlayerCommand:
  1790.         return: bool
  1791.         arguments:
  1792.         -   playerId: int32
  1793.         -   message: string, lst ~
  1794. -   OnPlayerPrivateMessage:
  1795.         return: bool
  1796.         arguments:
  1797.         -   playerId: int32
  1798.         -   targetPlayerId: int32
  1799.         -   message: string, lst ~
  1800.  
  1801. -   OnPlayerKeyBindDown:
  1802.         return: void
  1803.         arguments:
  1804.         -   playerId: int32
  1805.         -   bindId: int32
  1806. -   OnPlayerKeyBindUp:
  1807.         return: void
  1808.         arguments:
  1809.         -   playerId: int32
  1810.         -   bindId: int32
  1811. -   OnPlayerSpectate:
  1812.         return: void
  1813.         arguments:
  1814.         -   playerId: int32
  1815.         -   targetPlayerId: int32
  1816. -   OnPlayerCrashReport:
  1817.         return: void
  1818.         arguments:
  1819.         -   playerId: int32
  1820.         -   report: string, lst ~
  1821.  
  1822. -   OnVehicleUpdate:
  1823.         return: void
  1824.         arguments:
  1825.         -   vehicleId: int32
  1826.         -   updateType: VcmpVehicleUpdate
  1827. -   OnVehicleExplode:
  1828.         return: void
  1829.         arguments:
  1830.         -   vehicleId: int32
  1831. -   OnVehicleRespawn:
  1832.         return: void
  1833.         arguments:
  1834.         -   vehicleId: int32
  1835.  
  1836. -   OnObjectShot:
  1837.         return: void
  1838.         arguments:
  1839.         -   objectId: int32
  1840.         -   playerId: int32
  1841.         -   weaponId: int32
  1842. -   OnObjectTouched:
  1843.         return: void
  1844.         arguments:
  1845.         -   objectId: int32
  1846.         -   playerId: int32
  1847.  
  1848. -   OnPickupPickAttempt:
  1849.         return: bool
  1850.         arguments:
  1851.         -   pickupId: int32
  1852.         -   playerId: int32
  1853. -   OnPickupPicked:
  1854.         return: void
  1855.         arguments:
  1856.         -   pickupId: int32
  1857.         -   playerId: int32
  1858. -   OnPickupRespawn:
  1859.         return: void
  1860.         arguments:
  1861.         -   pickupId: int32
  1862.  
  1863. -   OnCheckpointEntered:
  1864.         return: void
  1865.         arguments:
  1866.         -   checkpointId: int32
  1867.         -   playerId: int32
  1868. -   OnCheckpointExited:
  1869.         return: void
  1870.         arguments:
  1871.         -   checkpointId: int32
  1872.         -   playerId: int32
  1873.  
  1874. -   OnEntityPoolChange:
  1875.         return: void
  1876.         arguments:
  1877.         -   entityType: VcmpEntityPool
  1878.         -   entityId: int32
  1879.         -   isDeleted: bool
  1880. -   OnServerPerformanceReport:
  1881.         return: void
  1882.         arguments:
  1883.         -   entryCount: size
  1884.         -   descriptions: string, lst ~
  1885.         -   times: uint64
  1886.  
  1887. -   OnPlayerModuleList:
  1888.         return: void
  1889.         arguments:
  1890.         -   playerId: int32
  1891.         -   list: string, lst ~
  1892.  
  1893. # Fleka:
  1894. #   Copyright © 2018  Fleka
  1895. #
  1896. #   Permission is hereby granted, free of charge, to any person obtaining a copy
  1897. #   of this software and associated documentation files (the "Software"), to deal
  1898. #   in the Software without restriction, including without limitation the rights
  1899. #   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1900. #   copies of the Software, and to permit persons to whom the Software is
  1901. #   furnished to do so, subject to the following conditions:
  1902. #
  1903. #   The above copyright notice and this permission notice shall be included in all
  1904. #   copies or substantial portions of the Software.
  1905. #
  1906. #   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1907. #   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1908. #   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1909. #   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1910. #   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1911. #   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1912. #   SOFTWARE.
  1913.  
  1914. # maxorator:
  1915. #  Copyright 2011-2016 Ago Allikmaa (maxorator)
  1916. #  Licensed under the Apache License, Version 2.0 (the "License");
  1917. #  you may not use this file except in compliance with the License.
  1918. #  You may obtain a copy of the License at
  1919. #   http://www.apache.org/licenses/LICENSE-2.0
  1920. #  Unless required by applicable law or agreed to in writing, software
  1921. #  distributed under the License is distributed on an "AS IS" BASIS,
  1922. #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1923. #  See the License for the specific language governing permissions and
  1924. #  limitations under the License.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement