13.01.2011, 14:51
Samp client crashes ,i don't know why
but maybe is because SetPlayerAttachedObject(
we are using this function for holding objects
if(strcmp(cmd, "/ak47l", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] < 2)
{
ClientLanguageText(playerid, COLOR_GREY, "Niste ovlasceni", "You don't have permissions to do that");
return 1;
}
SetPlayerAttachedObject(playerid,1, 355, 1, 0.341018, -0.159812, 0.079630, 1.034242, 157.280868, 0.000000 ); // ak47 - kalash ledja
return 1;
}
but maybe is because SetPlayerAttachedObject(
we are using this function for holding objects
if(strcmp(cmd, "/ak47l", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] < 2)
{
ClientLanguageText(playerid, COLOR_GREY, "Niste ovlasceni", "You don't have permissions to do that");
return 1;
}
SetPlayerAttachedObject(playerid,1, 355, 1, 0.341018, -0.159812, 0.079630, 1.034242, 157.280868, 0.000000 ); // ak47 - kalash ledja
return 1;
}
Код:
SA-MP 0.3c Exception At Address: 0x03549C0E Registers: EAX: 0x00000000 EBX: 0x0E7C5EA1 ECX: 0x134211C0 EDX: 0x00000000 ESI: 0x0E7C5E95 EDI: 0x0A0BFA10 EBP: 0x0022FCEC ESP: 0x0022FCCC EFLAGS: 0x00010202 Stack: +0000: 0x0E7C5E58 0x0E7C5E95 0x134211C0 0x00000000 +0010: 0x0A0BFA10 0x00000000 0x00734A40 0x007C51E0 +0020: 0x0022FD68 0x0354AB1B 0x0022FD08 0x00000000 +0030: 0x00000005 0x0E7072D0 0x00000000 0x75737E90 +0040: 0x00561A8E 0x0022FD14 0x89E20A8C 0x000000F0 +0050: 0x0053D07D 0x0000001A 0x0A19F3CC 0x00601BA2 +0060: 0x00000000 0x0A0863B8 0x00000000 0xC4D61FDF +0070: 0xC376501A 0x447C82B8 0xC4C56D3D 0xC376501A +0080: 0x44A62280 0xBB97D8C8 0x0E7C5E58 0x00000000 +0090: 0x00866F60 0x0C50A8E4 0x0E7C5F69 0x75737E90 +00A0: 0x034FD6EA 0x0000001A 0x00000001 0x035428C3 +00B0: 0x0000001A 0x00000001 0x75737E90 0x0022FD9C +00C0: 0x00000000 0x000020D8 0x00000104 0x0C4E5234 +00D0: 0x0053EA08 0x44100000 0x43D80000 0x0053ECC2 +00E0: 0x00000001 0x00619B71 0x0000001A 0x00000001 +00F0: 0x00000001 0x0000000A 0x00748DF0 0x0000001A +0100: 0x00000001 0x76D728D7 0x00000000 0x0022FF88 +0110: 0x7FFD5000 0x011F0000 0x42142642 0x041F10F0 +0120: 0x00000008 0x00000100 0x00000008 0x00000102 +0130: 0x44100000 0x43D80000 0x00000000 0x00000000 +0140: 0x00000480 0x00000360 0x00000000 0x00000B30 +0150: 0x007C03A6 0x00000113 0x00000001 0x00000000 +0160: 0x157F1C57 0x0000025A 0x000001C1 0x0000002C +0170: 0x0022FE2C 0x00825EE4 0x76D728D7 0x00000000 +0180: 0x7FFD5000 0xFFFFFFFF 0x00821D57 0x00000065 +0190: 0x00000065 0x0022FF88 0x00824731 0x00400000 +01A0: 0x00000000 0x017D21F5 0x0000000A 0x00000094 +01B0: 0x00000006 0x00000000 0x00001770 0x00000002 +01C0: 0x00000000 0x00000000 0x00000000 0x00000000 +01D0: 0x00000000 0x00000000 0x00000000 0x00000000 +01E0: 0x00000000 0x00000000 0x00000000 0x00000000 +01F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0200: 0x00000000 0x00000000 0x00000000 0x00000000 +0210: 0x00000000 0x00000000 0x00000000 0x00000000 +0220: 0x00000000 0x00000000 0x00000000 0x00000000 +0230: 0x00000000 0x00000000 0x00000000 0x008245C8 +0240: 0x00000000 0x00000000 0x7FFD5000 0xC0000005 +0250: 0x00000000 0x017D21F5 0x00000044 0x01812A78 +0260: 0x01811968 0x018108A8 0x00000000 0x00000000 +0270: 0x00000000 0x00000000 0x00000000 0x00000000 SCM Op: 0x6BD, lDbg: 0 Game Version: EU 1.0 State Information: Ped Context: 0 P0 (0,0) P1 (0,0) P2 (0,0) P3 (0,0) P4 (45,0) P5 (209,754) P7 (0,0) P8 (0,0) P9 (0,0) P10 (0,0) P11 (45,0) P12 (0,0) P13 (0,0) P14 (0,0) P15 (0,0) P16 (0,0) P17 (209,31) P18 (0,0) P19 (0,0) P20 (0,0) P21 (0,0) P22 (0,0) P23 (0,0) P24 (0,0) P25 (45,0) P26 (0,0) P28 (0,0) P29 (0,0) P30 (0,0) P31 (45,0) P32 (0,0) P33 (0,0) P34 (193,300) P36 (0,0) P37 (0,0) P38 (0,0) P39 (0,0) P40 (0,0) P42 (0,0) P44 (209,24) P46 (0,0) P47 (0,0) P48 (45,0) P49 (0,0) P50 (0,0) P51 (0,0) P52 (0,0) P53 (0,0) P54 (45,0) P55 (0,0) P56 (0,0) P57 (0,0) P58 (45,0) P59 (0,0) P60 (45,0) P61 (0,0) P62 (0,0) P63 (0,0) P64 (0,0) P65 (45,0) P66 (0,0) P67 (0,0) P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0) P72 (0,0) P73 (0,0) P74 (45,0) P75 (45,0) P76 (0,0) P77 (0,0) P78 (45,0) P79 (0,0) P80 (0,0) P81 (0,0) P82 (0,0) P83 (0,0) P84 (0,0) P85 (193,300) P86 (45,0) P87 (45,0) P88 (0,0) P89 (0,0) P90 (0,0) P91 (0,0) P92 (0,0) P93 (0,0) P94 (45,0) P95 (0,0) P96 (0,0) P97 (0,0) P98 (0,0) P99 (0,0) --------------------------------------------------------------------------- - SA-MP 0.3c Exception At Address: 0x03429C0E Registers: EAX: 0x00000000 EBX: 0x0E8AE319 ECX: 0x139323B0 EDX: 0x00000000 ESI: 0x0E8AE30D EDI: 0x0A142864 EBP: 0x0022FCEC ESP: 0x0022FCCC EFLAGS: 0x00210202 Stack: +0000: 0x0E8AE2D0 0x0E8AE30D 0x139323B0 0x00000000 +0010: 0x0A142864 0x00000000 0x00734A40 0x007C51E0 +0020: 0x0022FD68 0x0342AB1B 0x0022FD08 0x00000000 +0030: 0x00000005 0x0E8672C8 0x00000000 0x75737E90 +0040: 0x00561A8E 0x0022FD14 0xA088B947 0x000000F0 +0050: 0x0053D07D 0x0000001A 0x0A22F3CC 0x00601BA2 +0060: 0x00000000 0x0A119118 0x00000000 0xC4E5D3C0 +0070: 0xC36D7EDF 0x447CCE2C 0xC4D9B1CC 0xC36D7EDF +0080: 0x44A23B14 0xBDC1596D 0x0E8AE2D0 0x00000000 +0090: 0x00866F60 0x0B7629C0 0x0E8AE3E1 0x75737E90 +00A0: 0x033DD6EA 0x0000001A 0x00000001 0x034228C3 +00B0: 0x0000001A 0x00000001 0x75737E90 0x0022FD9C +00C0: 0x00000000 0x00001BD5 0x00000004 0x0B745234 +00D0: 0x0053EA08 0x44100000 0x43D80000 0x0053ECC2 +00E0: 0x00000001 0x00619B71 0x0000001A 0x00000001 +00F0: 0x00000001 0x0000000A 0x00748DF0 0x0000001A +0100: 0x00000001 0x76D728D7 0x00000000 0x0022FF88 +0110: 0x7FFDB000 0x01710000 0x42142642 0x017110F0 +0120: 0x00000008 0x00000100 0x00000008 0x00000102 +0130: 0x44100000 0x43D80000 0x00000000 0x00000000 +0140: 0x00000480 0x00000360 0x00000000 0x00000B30 +0150: 0x00940CBC 0x00000102 0x00000061 0x001E0001 +0160: 0x1581228E 0x00000240 0x000001B0 0x0000002C +0170: 0x0022FE2C 0x00825EE4 0x76D728D7 0x00000000 +0180: 0x7FFDB000 0xFFFFFFFF 0x00821D57 0x00000065 +0190: 0x00000065 0x0022FF88 0x00824731 0x00400000 +01A0: 0x00000000 0x018221F5 0x0000000A 0x00000094 +01B0: 0x00000006 0x00000000 0x00001770 0x00000002 +01C0: 0x00000000 0x00000000 0x00000000 0x00000000 +01D0: 0x00000000 0x00000000 0x00000000 0x00000000 +01E0: 0x00000000 0x00000000 0x00000000 0x00000000 +01F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0200: 0x00000000 0x00000000 0x00000000 0x00000000 +0210: 0x00000000 0x00000000 0x00000000 0x00000000 +0220: 0x00000000 0x00000000 0x00000000 0x00000000 +0230: 0x00000000 0x00000000 0x00000000 0x008245C8 +0240: 0x00000000 0x00000000 0x7FFDB000 0xC0000005 +0250: 0x00000000 0x018221F5 0x00000044 0x01862A78 +0260: 0x01861968 0x018608A8 0x00000000 0x00000000 +0270: 0x00000000 0x00000000 0x00000000 0x00000000 SCM Op: 0x6BD, lDbg: 0 Game Version: EU 1.0 State Information: Ped Context: 0 P0 (0,0) P1 (0,0) P2 (0,0) P3 (0,0) P4 (0,0) P5 (156,0) P6 (160,0) P7 (193,300) P8 (0,0) P9 (45,0) P10 (0,0) P11 (0,0) P12 (0,0) P13 (0,0) P14 (209,24) P15 (193,300) P16 (0,0) P17 (0,0) P18 (0,0) P19 (0,0) P20 (0,0) P21 (209,367) P22 (0,0) P23 (0,0) P24 (0,0) P25 (0,0) P26 (0,0) P27 (0,0) P28 (0,0) P29 (0,0) P30 (0,0) P31 (0,0) P32 (0,0) P33 (0,0) P34 (0,0) P35 (0,0) P36 (0,0) P37 (0,0) P38 (0,0) P39 (0,0) P40 (0,0) P41 (45,0) P42 (0,0) P43 (0,0) P44 (0,0) P45 (0,0) P46 (0,0) P47 (0,0) P48 (0,0) P49 (0,0) P50 (160,0) P51 (0,0) P52 (0,0) P53 (0,0) P54 (0,0) P55 (0,0) P56 (0,0) P58 (0,0) P59 (0,0) P60 (0,0) P61 (0,0) P62 (0,0) P63 (0,0) P64 (0,0) P65 (0,0) P66 (0,0) P67 (0,0) P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0) P73 (0,0) P74 (0,0) P75 (0,0) P76 (0,0) P77 (0,0) P78 (0,0) P81 (0,0) P83 (0,0) P84 (0,0) P86 (45,0) P87 (0,0) P88 (0,0) P89 (0,0) P90 (0,0) P94 (0,0) P95 (0,0) P96 (0,0) P98 (0,0) P99 (0,0) -------------------------------------------------------------- SA-MP 0.3c Exception At Address: 0x03589C0E Registers: EAX: 0x00000000 EBX: 0x0E8EDC71 ECX: 0x136B9718 EDX: 0x00000000 ESI: 0x0E8EDC65 EDI: 0x09FB0190 EBP: 0x0022FCEC ESP: 0x0022FCCC EFLAGS: 0x00210202 Stack: +0000: 0x0E8EDBD0 0x0E8EDC65 0x136B9718 0x09F9C550 +0010: 0x09FB0190 0x00000000 0x00734A40 0x007C51E0 +0020: 0x0022FD68 0x0358AB1B 0x0022FD08 0x00000000 +0030: 0x00000061 0x0E8A7440 0x00000000 0xBF6C2302 +0040: 0x3BE46E32 0xBEC5B59A 0x00000000 0x0B5FD8E6 +0050: 0x3F7FF553 0x3C93DD7D 0x005449C0 0x3EC5BDD9 +0060: 0x3C886468 0xBF6C1929 0x00749BE3 0x445C46D2 +0070: 0xC4AEE3F4 0x4163140F 0x0E8EDC39 0x445C46D2 +0080: 0xC4AEE3F4 0x4163140F 0x0E8EDBD0 0x00000002 +0090: 0x00866F60 0x0B7788EC 0x0E8EDCE9 0x75737E90 +00A0: 0x0353D6EA 0x0000001A 0x00000001 0x035828C3 +00B0: 0x0000001A 0x00000001 0x75737E90 0x0022FD9C +00C0: 0x00000000 0x000051FC 0x00000104 0x0B775234 +00D0: 0x0053EA08 0x44100000 0x43D80000 0x0053ECC2 +00E0: 0x00000001 0x00619B71 0x0000001A 0x00000001 +00F0: 0x00000001 0x0000000A 0x00748DF0 0x0000001A +0100: 0x00000001 0x76D728D7 0x00000000 0x0022FF88 +0110: 0x7FFDC000 0x016E0000 0x42180B71 0x016E10F0 +0120: 0x00000008 0x00000100 0x00000008 0x00000102 +0130: 0x44100000 0x43D80000 0x00000000 0x00000000 +0140: 0x00000480 0x00000360 0x00000000 0x00000B30 +0150: 0x00C60426 0x00000200 0x00000000 0x028A0257 +0160: 0x1A2E857D 0x00000257 0x0000028A 0x0000002C +0170: 0x0022FE2C 0x00825EE4 0x76D728D7 0x00000000 +0180: 0x7FFDC000 0xFFFFFFFF 0x00821D57 0x00000065 +0190: 0x00000065 0x0022FF88 0x00824731 0x00400000 +01A0: 0x00000000 0x018F21F5 0x0000000A 0x00000094 +01B0: 0x00000006 0x00000000 0x00001770 0x00000002 +01C0: 0x00000000 0x00000000 0x00000000 0x00000000 +01D0: 0x00000000 0x00000000 0x00000000 0x00000000 +01E0: 0x00000000 0x00000000 0x00000000 0x00000000 +01F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0200: 0x00000000 0x00000000 0x00000000 0x00000000 +0210: 0x00000000 0x00000000 0x00000000 0x00000000 +0220: 0x00000000 0x00000000 0x00000000 0x00000000 +0230: 0x00000000 0x00000000 0x00000000 0x008245C8 +0240: 0x00000000 0x00000000 0x7FFDC000 0xC0000005 +0250: 0x00000000 0x018F21F5 0x00000044 0x01932A78 +0260: 0x01931968 0x019308A8 0x00000000 0x00000000 +0270: 0x00000000 0x00000000 0x00000000 0x00000000 SCM Op: 0x470, lDbg: 0 Game Version: EU 1.0 State Information: Ped Context: 0 P0 (0,0) P1 (0,0) P2 (0,0) P3 (0,0) P4 (0,0) P5 (0,0) P6 (0,0) P7 (0,0) P8 (0,0) P9 (209,52) P10 (156,0) P11 (0,0) P12 (0,0) P13 (0,0) P14 (0,0) P15 (0,0) P16 (0,0) P17 (0,0) P18 (0,0) P19 (0,0) P20 (0,0) P21 (0,0) P22 (0,0) P23 (0,0) P24 (0,0) P25 (0,0) P26 (0,0) P27 (0,0) P28 (0,0) P29 (0,0) P30 (0,0) P31 (0,0) P32 (0,0) P33 (209,216) P34 (0,0) P35 (0,0) P36 (0,0) P37 (0,0) P38 (0,0) P39 (0,0) P40 (0,0) P41 (0,0) P42 (0,0) P43 (0,0) P44 (0,0) P45 (0,0) P46 (0,0) P47 (0,0) P48 (0,0) P50 (0,0) P51 (0,0) P52 (0,0) P53 (0,0) P54 (0,0) P55 (0,0) P56 (0,0) P58 (0,0) P62 (0,0) P63 (0,0) P64 (0,0) P65 (0,0) P66 (0,0) P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0) P72 (0,0) P73 (0,0) P74 (0,0) P75 (0,0) P76 (0,0) P77 (0,0) P78 (0,0) P79 (0,0) P80 (0,0) P81 (0,0) P82 (0,0) P83 (0,0) P85 (0,0) P86 (0,0) P87 (0,0) P88 (0,0) P90 (0,0) P91 (0,0) P92 (0,0) P93 (0,0) P94 (0,0) P95 (0,0) P96 (0,0) P97 (193,216) P98 (0,0) P99 (0,0) P100 (0,0) ------------------------------------------------------------------ SA-MP 0.3c Exception At Address: 0x035F9C0E Registers: EAX: 0x00000000 EBX: 0x1ECAF6B9 ECX: 0x12FA9668 EDX: 0x00000000 ESI: 0x1ECAF6AD EDI: 0x0A16FB20 EBP: 0x0022FCEC ESP: 0x0022FCCC EFLAGS: 0x00210202 Stack: +0000: 0x1ECAF670 0x1ECAF6AD 0x12FA9668 0x00000000 +0010: 0x0A16FB20 0x00000000 0x00734A40 0x007C51E0 +0020: 0x0022FD68 0x035FAB1B 0x0022FD08 0x00000000 +0030: 0x00000037 0x0E7E7390 0x00000000 0x75737E90 +0040: 0x00561A8E 0x0022FD14 0x19B41569 0x00000134 +0050: 0x0053D07D 0x0000001A 0x0A224D44 0x00601BA2 +0060: 0x00000000 0x0A0FC3A0 0x00000000 0xC4839C82 +0070: 0xC3825151 0x44C6F3B2 0xC46C0B47 0xC3825151 +0080: 0x449BD63F 0xBA25DA2B 0x1ECAF670 0x00000000 +0090: 0x00866F60 0x0C5EC914 0x1ECAF781 0x75737E90 +00A0: 0x035AD6EA 0x0000001A 0x00000001 0x035F28C3 +00B0: 0x0000001A 0x00000001 0x75737E90 0x0022FD9C +00C0: 0x00000000 0x00003154 0x00000004 0x0C5C5234 +00D0: 0x0053EA08 0x44100000 0x43D80000 0x0053ECC2 +00E0: 0x00000001 0x00619B71 0x0000001A 0x00000001 +00F0: 0x00000001 0x0000000A 0x00748DF0 0x0000001A +0100: 0x00000001 0x76D728D7 0x00000000 0x0022FF88 +0110: 0x7FFD6000 0x01730000 0x42142642 0x017310F0 +0120: 0x00000008 0x00000100 0x00000008 0x00000102 +0130: 0x44100000 0x43D80000 0x00000000 0x00000000 +0140: 0x00000480 0x00000360 0x00000000 0x00000B30 +0150: 0x004508A0 0x00000113 0x00000001 0x00000000 +0160: 0x1B88CF40 0x00000240 0x000001B0 0x0000002C +0170: 0x0022FE2C 0x00825EE4 0x76D728D7 0x00000000 +0180: 0x7FFD6000 0xFFFFFFFF 0x00821D57 0x00000065 +0190: 0x00000065 0x0022FF88 0x00824731 0x00400000 +01A0: 0x00000000 0x018C21F5 0x0000000A 0x00000094 +01B0: 0x00000006 0x00000000 0x00001770 0x00000002 +01C0: 0x00000000 0x00000000 0x00000000 0x00000000 +01D0: 0x00000000 0x00000000 0x00000000 0x00000000 +01E0: 0x00000000 0x00000000 0x00000000 0x00000000 +01F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0200: 0x00000000 0x00000000 0x00000000 0x00000000 +0210: 0x00000000 0x00000000 0x00000000 0x00000000 +0220: 0x00000000 0x00000000 0x00000000 0x00000000 +0230: 0x00000000 0x00000000 0x00000000 0x008245C8 +0240: 0x00000000 0x00000000 0x7FFD6000 0xC0000005 +0250: 0x00000000 0x018C21F5 0x00000044 0x01902A78 +0260: 0x01901968 0x019008A8 0x00000000 0x00000000 +0270: 0x00000000 0x00000000 0x00000000 0x00000000 SCM Op: 0x6BD, lDbg: 0 Game Version: EU 1.0 State Information: Ped Context: 0 P0 (45,0) P1 (0,0) P2 (0,0) P3 (0,0) P4 (45,0) P5 (0,0) P6 (45,0) P8 (0,0) P9 (45,0) P10 (0,0) P11 (0,0) P12 (0,0) P13 (0,0) P14 (0,0) P15 (0,0) P16 (0,0) P17 (0,0) P18 (0,0) P19 (45,0) P20 (0,0) P21 (0,0) P23 (0,0) P24 (0,0) P25 (0,0) P26 (0,0) P27 (0,0) P28 (0,0) P30 (0,0) P31 (193,54) P33 (0,0) P34 (0,0) P35 (0,0) P36 (0,0) P37 (156,0) P38 (0,0) P39 (0,0) P40 (0,0) P41 (0,0) P42 (0,0) P45 (0,0) P46 (193,54) P49 (0,0) P50 (0,0) P51 (45,0) P52 (0,0) P53 (0,0) P54 (0,0) P55 (193,227) P56 (0,0) P57 (45,0) P58 (45,0) P59 (45,0) P60 (0,0) P61 (0,0) P63 (0,0) P64 (0,0) P65 (0,0) P66 (0,0) P67 (0,0) P68 (45,0) P69 (0,0) P71 (0,0) P72 (0,0) P74 (0,0) P75 (45,0) P76 (45,0) P77 (193,54) P78 (0,0) P79 (0,0) P80 (0,0) P81 (0,0) P82 (0,0) P83 (0,0) P84 (0,0) P85 (0,0) P86 (0,0) P87 (45,0) P88 (0,0) P89 (0,0) P91 (0,0) P93 (0,0) P94 (0,0) P100 (0,0)