@@ -16,31 +16,29 @@ local module = {
1616}
1717
1818local offset = {
19- stChatInfo = {[' 0_3_7-R1' ] = 0x21A0E4 , [' 0_3_7-R3' ] = 0x26E8C8 , [' 0_3_DL-R1' ] = 0x2ACA10 };
20- stInputInfo = {[' 0_3_7-R1' ] = 0x21A0E8 , [' 0_3_7-R3' ] = 0x26E8CC , [' 0_3_DL-R1' ] = 0x2ACA14 };
21- stKillInfo = {[' 0_3_7-R1' ] = 0x21A0EC , [' 0_3_7-R3' ] = 0x26E8D0 , [' 0_3_DL-R1' ] = 0x2ACA18 };
22- stSAMP = {[' 0_3_7-R1' ] = 0x21A0F8 , [' 0_3_7-R3' ] = 0x26E8DC , [' 0_3_DL-R1' ] = 0x2ACA24 };
23- stScoreboardInfo = {[' 0_3_7-R1' ] = 0x21A0B4 , [' 0_3_7-R3' ] = 0x26E894 , [' 0_3_DL-R1' ] = 0x2AC9DC };
24- stDialogInfo = {[' 0_3_7-R1' ] = 0x21A0B8 , [' 0_3_7-R3' ] = 0x26E898 , [' 0_3_DL-R1' ] = 0x2AC9E0 };
25- stGameInfo = {[' 0_3_7-R1' ] = 0x21A10C , [' 0_3_7-R3' ] = 0x26E8F4 , [' 0_3_DL-R1' ] = 0x2ACA3C };
26-
27- fnAddChatCmd = {[' 0_3_7-R1' ] = 0x065AD0 , [' 0_3_7-R3' ] = 0x069000 , [' 0_3_DL-R1' ] = 0x0691B0 };
28- fnRequestSpawn = {[' 0_3_7-R1' ] = 0x003EC0 , [' 0_3_7-R3' ] = 0x003A20 , [' 0_3_DL-R1' ] = 0x003F40 };
29- fnSpawn = {[' 0_3_7-R1' ] = 0x003AD0 , [' 0_3_7-R3' ] = 0x003AD0 , [' 0_3_DL-R1' ] = 0x003B20 };
30- fnAddChatMsg = {[' 0_3_7-R1' ] = 0x064010 , [' 0_3_7-R3' ] = 0x067460 , [' 0_3_DL-R1' ] = 0x067650 };
31- fnSetInputMode = {[' 0_3_7-R1' ] = 0x09BD30 , [' 0_3_7-R3' ] = 0x09FFE0 , [' 0_3_DL-R1' ] = 0x0A0530 };
32- fnUnlockActorCam = {[' 0_3_7-R1' ] = 0x09BC10 , [' 0_3_7-R3' ] = 0x09FEC0 , [' 0_3_DL-R1' ] = 0x0A0410 };
33- fnUpdateScoreboard = {[' 0_3_7-R1' ] = 0x008A10 , [' 0_3_7-R3' ] = 0x008BA0 , [' 0_3_DL-R1' ] = 0x008C00 };
34- fnSay = {[' 0_3_7-R1' ] = 0x0057F0 , [' 0_3_7-R3' ] = 0x005820 , [' 0_3_DL-R1' ] = 0x005860 };
35- fnSendCmd = {[' 0_3_7-R1' ] = 0x065C60 , [' 0_3_7-R3' ] = 0x069190 , [' 0_3_DL-R1' ] = 0x069340 };
36- fnSendInteriorChange = {[' 0_3_7-R1' ] = 0x005740 , [' 0_3_7-R3' ] = 0x005780 , [' 0_3_DL-R1' ] = 0x0057C0 };
37- fnRequestClass = {[' 0_3_7-R1' ] = 0x0056A0 , [' 0_3_7-R3' ] = 0x0056E0 , [' 0_3_DL-R1' ] = 0x005720 };
38- fnDisableScoreboard = {[' 0_3_7-R1' ] = 0x06A320 , [' 0_3_7-R3' ] = 0x06E270 , [' 0_3_DL-R1' ] = 0x06E410 };
39- fnSetSpecialAction = {[' 0_3_7-R1' ] = 0x0030C0 , [' 0_3_7-R3' ] = 0x0030C0 , [' 0_3_DL-R1' ] = 0x003110 };
40-
41- -- thanks Parazitas from ugbase.eu
42- fnTakeScreenshot = {[' 0_3_7-R1' ] = 0x070FC0 , [' 0_3_7-R3' ] = 0x074EB0 , [' 0_3_DL-R1' ] = 0x075040 };
43- -- fnDialogHook = {['0_3_7-R1'] = 0x06C040, ['0_3_7-R3'] = 0x06FF40, ['0_3_DL-R1'] = 0x0700D0};
19+ stChatInfo = {[' 0_3_7-R1' ] = 0x21A0E4 , [' 0_3_7-R3' ] = 0x26E8C8 , [' 0_3_DL-R1' ] = 0x2ACA10 , [' 0_3_7-R4-2' ] = 0x26E9F8 };
20+ stInputInfo = {[' 0_3_7-R1' ] = 0x21A0E8 , [' 0_3_7-R3' ] = 0x26E8CC , [' 0_3_DL-R1' ] = 0x2ACA14 , [' 0_3_7-R4-2' ] = 0x26E9FC };
21+ stKillInfo = {[' 0_3_7-R1' ] = 0x21A0EC , [' 0_3_7-R3' ] = 0x26E8D0 , [' 0_3_DL-R1' ] = 0x2ACA18 , [' 0_3_7-R4-2' ] = 0x26EA00 };
22+ stSAMP = {[' 0_3_7-R1' ] = 0x21A0F8 , [' 0_3_7-R3' ] = 0x26E8DC , [' 0_3_DL-R1' ] = 0x2ACA24 , [' 0_3_7-R4-2' ] = 0x26EA0C };
23+ stScoreboardInfo = {[' 0_3_7-R1' ] = 0x21A0B4 , [' 0_3_7-R3' ] = 0x26E894 , [' 0_3_DL-R1' ] = 0x2AC9DC , [' 0_3_7-R4-2' ] = 0x26E9C4 };
24+ stDialogInfo = {[' 0_3_7-R1' ] = 0x21A0B8 , [' 0_3_7-R3' ] = 0x26E898 , [' 0_3_DL-R1' ] = 0x2AC9E0 , [' 0_3_7-R4-2' ] = 0x26E9C8 };
25+ stGameInfo = {[' 0_3_7-R1' ] = 0x21A10C , [' 0_3_7-R3' ] = 0x26E8F4 , [' 0_3_DL-R1' ] = 0x2ACA3C , [' 0_3_7-R4-2' ] = 0x26EA24 };
26+
27+ fnAddChatCmd = {[' 0_3_7-R1' ] = 0x065AD0 , [' 0_3_7-R3' ] = 0x069000 , [' 0_3_DL-R1' ] = 0x0691B0 , [' 0_3_7-R4-2' ] = 0x069770 };
28+ fnRequestSpawn = {[' 0_3_7-R1' ] = 0x003EC0 , [' 0_3_7-R3' ] = 0x003ED0 , [' 0_3_DL-R1' ] = 0x003F40 , [' 0_3_7-R4-2' ] = 0x004060 };
29+ fnSpawn = {[' 0_3_7-R1' ] = 0x003AD0 , [' 0_3_7-R3' ] = 0x003AD0 , [' 0_3_DL-R1' ] = 0x003B20 , [' 0_3_7-R4-2' ] = 0x003C20 };
30+ fnAddChatMsg = {[' 0_3_7-R1' ] = 0x064010 , [' 0_3_7-R3' ] = 0x067460 , [' 0_3_DL-R1' ] = 0x067650 , [' 0_3_7-R4-2' ] = 0x067BE0 };
31+ fnSetInputMode = {[' 0_3_7-R1' ] = 0x09BD30 , [' 0_3_7-R3' ] = 0x09FFE0 , [' 0_3_DL-R1' ] = 0x0A0530 , [' 0_3_7-R4-2' ] = 0x0A0750 };
32+ fnUnlockActorCam = {[' 0_3_7-R1' ] = 0x09BC10 , [' 0_3_7-R3' ] = 0x09FEC0 , [' 0_3_DL-R1' ] = 0x0A0410 , [' 0_3_7-R4-2' ] = 0x0A0630 };
33+ fnUpdateScoreboard = {[' 0_3_7-R1' ] = 0x008A10 , [' 0_3_7-R3' ] = 0x008BA0 , [' 0_3_DL-R1' ] = 0x008C00 , [' 0_3_7-R4-2' ] = 0x008F10 };
34+ fnSay = {[' 0_3_7-R1' ] = 0x0057F0 , [' 0_3_7-R3' ] = 0x005820 , [' 0_3_DL-R1' ] = 0x005860 , [' 0_3_7-R4-2' ] = 0x005A10 };
35+ fnSendCmd = {[' 0_3_7-R1' ] = 0x065C60 , [' 0_3_7-R3' ] = 0x069190 , [' 0_3_DL-R1' ] = 0x069340 , [' 0_3_7-R4-2' ] = 0x069900 };
36+ fnSendInteriorChange = {[' 0_3_7-R1' ] = 0x005740 , [' 0_3_7-R3' ] = 0x005780 , [' 0_3_DL-R1' ] = 0x0057C0 , [' 0_3_7-R4-2' ] = 0x005970 };
37+ fnRequestClass = {[' 0_3_7-R1' ] = 0x0056A0 , [' 0_3_7-R3' ] = 0x0056E0 , [' 0_3_DL-R1' ] = 0x005720 , [' 0_3_7-R4-2' ] = 0x0058D0 };
38+ fnDisableScoreboard = {[' 0_3_7-R1' ] = 0x06A320 , [' 0_3_7-R3' ] = 0x06E270 , [' 0_3_DL-R1' ] = 0x06E410 , [' 0_3_7-R4-2' ] = 0x06E9E0 };
39+ fnSetSpecialAction = {[' 0_3_7-R1' ] = 0x0030C0 , [' 0_3_7-R3' ] = 0x0030C0 , [' 0_3_DL-R1' ] = 0x003110 , [' 0_3_7-R4-2' ] = 0x0030F0 };
40+
41+ fnTakeScreenshot = {[' 0_3_7-R1' ] = 0x070FC0 , [' 0_3_7-R3' ] = 0x074EB0 , [' 0_3_DL-R1' ] = 0x075040 , [' 0_3_7-R4-2' ] = 0x075620 };
4442};
4543
4644local define = require ( ' SA-MP API.samp.definitions' )
@@ -67,6 +65,8 @@ function module.GetIsAvailable()
6765 module .Version = ' 0_3_DL-R1'
6866 elseif ( cmp == ' E86D9A0A0083C41C85C0' ) then
6967 module .Version = ' 0_3_7-R3'
68+ elseif ( cmp == ' C07406889E3402000088' ) then
69+ module .Version = ' 0_3_7-R4-2'
7070 else
7171 error ( ' Unknown SA-MP Version.' )
7272 end
0 commit comments