local rpcList = {
[171] = {
{name = 'wActorID', type = 'UINT16'},
{name = 'SkinID', type = 'UINT32'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'Angle', type = 'float'},
{name = 'Health', type = 'float'},
{name = 'Invulnerable', type = 'bool'},
},
[172] = {
{name = 'wActorID', type = 'UINT16'},
},
[173] = {
{name = 'wActorID', type = 'UINT16'},
{name = 'AnimLibLength', type = 'UINT8'},
{name = 'AnimLib[]', type = 'char'},
{name = 'AnimNameLength', type = 'UINT8'},
{name = 'AnimName[]', type = 'char'},
{name = 'fDelta', type = 'float'},
{name = 'loop', type = 'bool'},
{name = 'lockx', type = 'bool'},
{name = 'locky', type = 'bool'},
{name = 'freeze', type = 'bool'},
{name = 'time', type = 'UINT32'},
},
[174] = {
{name = 'wActorID', type = 'UINT16'},
},
[175] = {
{name = 'wActorID', type = 'UINT16'},
{name = 'angle', type = 'float'},
},
[176] = {
{name = 'wActorID', type = 'UINT16'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[178] = {
{name = 'wActorID', type = 'UINT16'},
{name = 'health', type = 'float'},
},
[113] = {
{name = 'playerid', type = 'UINT16'},
{name = 'Index', type = 'UINT32'},
{name = 'create', type = 'bool'},
{name = 'Model', type = 'UINT32'},
{name = 'bone', type = 'UINT32'},
{name = 'fOffsetX', type = 'float'},
{name = 'fOffsetY', type = 'float'},
{name = 'fOffsetZ', type = 'float'},
{name = 'fRotX', type = 'float'},
{name = 'fRotY', type = 'float'},
{name = 'fRotZ', type = 'float'},
{name = 'fScaleX', type = 'float'},
{name = 'fScaleY', type = 'float'},
{name = 'fScaleZ', type = 'float'},
{name = 'materialcolor1', type = 'INT32'},
{name = 'materialcolor2', type = 'INT32'},
},
[59] = {
{name = 'playerid', type = 'UINT16'},
{name = 'color', type = 'UINT32'},
{name = 'drawDistance', type = 'float'},
{name = 'expiretime', type = 'UINT32'},
{name = 'textLength', type = 'UINT8'},
{name = 'text[]', type = 'char'},
},
[37] = {
{name = 'playerid', type = 'UINT16'},
{name = 'color', type = 'UINT32'},
{name = 'drawDistance', type = 'float'},
{name = 'expiretime', type = 'UINT32'},
{name = 'textLength', type = 'UINT8'},
{name = 'text[]', type = 'char'}, {},
},
[38] = {
{name = 'type', type = 'UINT8'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'nextposX', type = 'float'},
{name = 'nextposY', type = 'float'},
{name = 'nextposZ', type = 'float'},
{name = 'radius', type = 'float'},
},
[39] = {
{name = 'type', type = 'UINT8'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'nextposX', type = 'float'},
{name = 'nextposY', type = 'float'},
{name = 'nextposZ', type = 'float'},
{name = 'radius', type = 'float'}, {},
},
--[[
SendCommand - 50
Parameters: UINT32 length, char[] commandtext
]]
[50] = {
{name = 'length', type = 'UINT32'},
{name = 'commandtext', type = 'char[]'},
},
[101] = {
{name = 'length', type = 'UINT8'},
{name = 'ChatMessage', type = 'char[]'},
},
--[[
SendChatMessage - 101
Parameters: UINT8 length, char[] ChatMessage
]]
[107] = {
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
{name = 'radius', type = 'float'},
},
[61] = {
{name = 'wDialogID', type = 'UINT16'},
{name = 'bDialogStyle', type = 'UINT8'},
{name = 'bTitleLength', type = 'UINT8'},
{name = 'szTitle', type = 'char[]'},
{name = 'bButton1Len', type = 'UINT8'},
{name = 'szButton1', type = 'char[]'},
{name = 'bButton2Len', type = 'UINT8'},
{name = 'szButton2', type = 'char[]'},
{name = 'szInfo', type = 'CSTRING'},
},
[108] = {
{name = 'wGangZoneID', type = 'UINT16'},
{name = 'min_x', type = 'float'},
{name = 'min_y', type = 'float'},
{name = 'max_x', type = 'float'},
{name = 'max_y', type = 'float'},
{name = 'color', type = 'UINT32'},
},
[120] = {
{name = 'wGangZoneID', type = 'UINT16'},
},
[121] = {
{name = 'wGangZoneID', type = 'UINT16'},
{name = 'color', type = 'UINT32'},
},
[85] = {
{name = 'wGangZoneID', type = 'UINT16'},
},
[73] = {
{name = 'dStyle', type = 'UINT32'},
{name = 'dTime', type = 'UINT32'},
{name = 'dMessageLength', type = 'UINT32'},
{name = 'Message[]', type = 'char'},
},
[56] = {
{name = 'bIconID', type = 'UINT8'},
{name = 'posX', type = 'float'},
{name = 'posY', type = 'float'},
{name = 'posZ', type = 'float'},
{name = 'type', type = 'UINT8'},
{name = 'color', type = 'UINT32'},
{name = 'style', type = 'UINT8'},
},
[144] = {
{name = 'bIconID', type = 'UINT8'},
},
[26] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bIsPassenger', type = 'UINT8'},
},
[154] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'wVehicleID', type = 'UINT16'},
},
[57] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'wComponentID', type = 'UINT16'},
},
[65] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bInteriorID', type = 'UINT8'},
},
[70] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bSeatID', type = 'UINT8'},
},
[71] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bSeatID', type = 'UINT8'}, {},
},
[106] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'panels', type = 'UINT32'},
{name = 'doors', type = 'UINT32'},
{name = 'lights', type = 'UINT8'},
{name = 'tires', type = 'UINT8'},
},
[123] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'PlateLength', type = 'UINT8'},
{name = 'PlateText', type = 'char[]'},
},
[147] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'Health', type = 'float'},
},
[159] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[160] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'Angle', type = 'float'},
},
[161] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bObjective', type = 'UINT8'},
{name = 'bDoorsLocked', type = 'UINT8'},
},
[164] = {
{name = 'wVehicleID', type = 'INT16'},
{name = 'ModelID', type = 'INT32'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'Angle', type = 'float'},
{name = 'InteriorColor1', type = 'INT8'},
{name = 'InteriorColor2', type = 'INT8'},
{name = 'Health', type = 'float'},
{name = 'interior', type = 'INT8'},
{name = 'DoorDamageStatus', type = 'INT32'},
{name = 'PanelDamageStatus', type = 'INT32'},
{name = 'LightDamageStatus', type = 'INT8'},
{name = 'tireDamageStatus', type = 'INT8'},
{name = 'addsiren', type = 'INT8'},
{name = 'modslot0', type = 'INT8'},
{name = 'modslot1', type = 'INT8'},
{name = 'modslot2', type = 'INT8'},
{name = 'modslot3', type = 'INT8'},
{name = 'modslot4', type = 'INT8'},
{name = 'modslot5', type = 'INT8'},
{name = 'modslot6', type = 'INT8'},
{name = 'modslot7', type = 'INT8'},
{name = 'modslot8', type = 'INT8'},
{name = 'modslot9', type = 'INT8'},
{name = 'modslot10', type = 'INT8'},
{name = 'modslot11', type = 'INT8'},
{name = 'modslot12', type = 'INT8'},
{name = 'modslot13', type = 'INT8'},
{name = 'PaintJob', type = 'INT8'},
{name = 'BodyColor1', type = 'INT32'},
{name = 'BodyColor2', type = 'INT32'},
},
[165] = {
{name = 'wVehicleID', type = 'UINT16'},
},
[58] = {
{name = 'wLabelID', type = 'UINT16'},
},
[94] = {
{name = 'bHour', type = 'UINT8'},
},
[170] = {
{name = 'bEnabled', type = 'bool'},
},
[134] = {
{name = 'wTextDrawID', type = 'UINT16'},
{name = 'Flags', type = 'UINT8'},
{name = 'fLetterWidth', type = 'float'},
{name = 'fLetterHeight', type = 'float'},
{name = 'dwLetterColor', type = 'UINT32'},
{name = 'fLineWidth', type = 'float'},
{name = 'fLineHeight', type = 'float'},
{name = 'dwBoxColor', type = 'UINT32'},
{name = 'Shadow', type = 'UINT8'},
{name = 'Outline', type = 'UINT8'},
{name = 'dwBackgroundColor', type = 'UINT32'},
{name = 'Style', type = 'UINT8'},
{name = 'Selectable', type = 'UINT8'},
{name = 'fX', type = 'float'},
{name = 'fY', type = 'float'},
{name = 'wModelID', type = 'UINT16'},
{name = 'fRotX', type = 'float'},
{name = 'fRotY', type = 'float'},
{name = 'fRotZ', type = 'float'},
{name = 'fZoom', type = 'float'},
{name = 'wColor1', type = 'UINT16'},
{name = 'wColor2', type = 'UINT16'},
{name = 'szTextLen', type = 'UINT16'},
{name = 'szText', type = 'char[]'},
},
[83] = {
{name = 'color', type = 'UINT32'},
{name = 'enable', type = 'UINT8'},
},
[105] = {
{name = 'wTextDrawID', type = 'UINT16'},
{name = 'TextLength', type = 'UINT16'},
{name = 'Text', type = 'char[]'},
},
[104] = {
{name = 'enable', type = 'UINT8'},
},
[126] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'bSpecCamType', type = 'UINT8'},
},
[127] = {
{name = 'wVehicleID', type = 'UINT16'},
{name = 'bSpecCamType', type = 'UINT8'},
},
[68] = {
{name = 'byteTeam', type = 'UINT8'},
{name = 'iSkin', type = 'INT32'},
{name = 'unk', type = 'UINT8'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'fRotation', type = 'FLOAT'},
{name = 'iSpawnWeapons1', type = 'INT32'},
{name = 'iSpawnWeapons2', type = 'INT32'},
{name = 'iSpawnWeapons3', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo1', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo2', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo3', type = 'INT32'},
},
[128] = {
{name = 'bRequestOutcome', type = 'UINT8'},
{name = 'byteTeam', type = 'UINT8'},
{name = 'iSkin', type = 'INT32'},
{name = 'unk', type = 'UINT8'},
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'fRotation', type = 'FLOAT'},
{name = 'iSpawnWeapons1', type = 'INT32'},
{name = 'iSpawnWeapons2', type = 'INT32'},
{name = 'iSpawnWeapons3', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo1', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo2', type = 'INT32'},
{name = 'iSpawnWeaponsAmmo3', type = 'INT32'},
},
[19] = {
{name = 'angle', type = 'float'},
},
[137] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'unknown', type = 'INT32'},
{name = 'isNPC', type = 'UINT8'},
{name = 'PlayerNameLength', type = 'UINT8'},
{name = 'PlayerName', type = 'char[]'},
},
[138] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'reason', type = 'UINT8'},
},
[155] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'score', type = 'INT32'},
{name = 'ping', type = 'UINT32'},
},
[86] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'AnimLibLength', type = 'UINT8'},
{name = 'AnimLib[]', type = 'char'},
{name = 'AnimNameLength', type = 'UINT8'},
{name = 'AnimName[]', type = 'char'},
{name = 'fDelta', type = 'float'},
{name = 'loop', type = 'bool'},
{name = 'lockx', type = 'bool'},
{name = 'locky', type = 'bool'},
{name = 'freeze', type = 'bool'},
{name = 'dTime', type = 'UINT32'},
},
[87] = {
{name = 'wPlayerID', type = 'UINT16'},
},
[166] = {
{name = 'wPlayerID', type = 'UINT16'},
},
[11] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'NameLength', type = 'UINT8'},
{name = 'Name', type = 'char[]'},
{name = 'unknown', type = 'UINT8'},
},
[12] = {
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[13] = {
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[34] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'dSkillID', type = 'UINT32'},
{name = 'wLevel', type = 'UINT16'},
},
[153] = {
{name = 'wPlayerID', type = 'UINT32'},
{name = 'dSkinID', type = 'UINT32'},
},
[29] = {
{name = 'bHour', type = 'UINT8'},
{name = 'bSecond', type = 'UINT8'},
},
[88] = {
{name = 'bActionID', type = 'UINT8'},
},
[152] = {
{name = 'bWeatherID', type = 'UINT8'},
},
[17] = {
{name = 'max_x', type = 'float'},
{name = 'min_x', type = 'float'},
{name = 'max_y', type = 'float'},
{name = 'min_y', type = 'float'},
},
[90] = {
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[15] = {
{name = 'moveable', type = 'UINT8'},
},
[124] = {
{name = 'spectating', type = 'UINT32'},
},
[30] = {
{name = 'toggle', type = 'UINT8'},
},
[69] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'bTeamID', type = 'UINT8'},
},
[16] = {
{name = 'soundid', type = 'UINT32'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
},
[18] = {
{name = 'dMoney', type = 'UINT32'},
},
[20] = {
{name = 'dMoney', type = 'UINT32'}, {},
},
[21] = {
{name = 'dMoney', type = 'UINT32'}, {}, {},
},
[22] = {
{name = 'dWeaponID', type = 'UINT32'},
{name = 'dBullets', type = 'UINT32'},
},
[41] = {
{name = 'UrlLength', type = 'UINT8'},
{name = 'Url', type = 'char[]'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
{name = 'radius', type = 'float'},
{name = 'UsePos', type = 'UINT8'},
},
[42] = {
{name = 'UrlLength', type = 'UINT8'},
{name = 'Url', type = 'char[]'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
{name = 'radius', type = 'float'},
{name = 'UsePos', type = 'UINT8'}, {},
},
[43] = {
{name = 'dObjectModel', type = 'UINT32'},
{name = 'x', type = 'float'},
{name = 'y', type = 'float'},
{name = 'z', type = 'float'},
{name = 'radius', type = 'float'},
},
[14] = {
{name = 'health', type = 'float'},
},
[66] = {
{name = 'armour', type = 'float'},
},
[145] = {
{name = 'bWeaponID', type = 'UINT8'},
{name = 'wAmmo', type = 'UINT16'},
},
[162] = {
{name = 'bWeaponID', type = 'UINT8'},
{name = 'wAmmo', type = 'UINT16'}, {},
},
[67] = {
{name = 'dWeaponID', type = 'UINT32'},
},
[32] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'team', type = 'uint8'},
{name = 'dSkinId', type = 'UINT32'},
{name = 'PosX', type = 'float'},
{name = 'PosY', type = 'float'},
{name = 'PosZ', type = 'float'},
{name = 'facing_angle', type = 'float'},
{name = 'player_color', type = 'UINT32'},
{name = 'fighting_style', type = 'uint8'},
},
[163] = {
{name = 'wPlayerID', type = 'UINT16'},
},
[79] = {
{name = 'X', type = 'float'},
{name = 'Y', type = 'float'},
{name = 'Z', type = 'float'},
{name = 'wType', type = 'UINT16'},
{name = 'radius', type = 'float'},
},
[55] = {
{name = 'wKillerID', type = 'UINT16'},
{name = 'wPlayerID', type = 'UINT16'},
{name = 'reason', type = 'UINT8'},
},
[93] = {
{name = 'dColor', type = 'UINT32'},
{name = 'dMessageLength', type = 'UINT32'},
{name = 'Message', type = 'char[]'},
},
[35] = {
{name = 'dDrunkLevel', type = 'UINT32'},
},
[89] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'fightstyle', type = 'UINT8'},
},
[156] = {
{name = 'bInteriorID', type = 'UINT8'},
},
[72] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'dColor', type = 'UINT32'},
},
[74] = {
{name = 'wPlayerID', type = 'UINT16'},
{name = 'dColor', type = 'UINT32'}, {},
},
[111] = {
{name = 'enable', type = 'bool'},
},
[133] = {
{name = 'bWantedLevel', type = 'UINT8'},
},
[157] = {
{name = 'lookposX', type = 'float'},
{name = 'lookposY', type = 'float'},
{name = 'lookposZ', type = 'float'},
},
[158] = {
{name = 'lookposX', type = 'float'},
{name = 'lookposY', type = 'float'},
{name = 'lookposZ', type = 'float'},
{name = 'cutType', type = 'UINT8'},
},
}