12.03.2011, 21:52
(
Последний раз редактировалось sMog.; 13.03.2011 в 09:40.
)
I can't give you gamemode code it is too long to post.
I tryed to get help at gamemode topic but no answers.
But i translated it without no errors.
And server crashes.
I try to give you my language script what i taked at gamemode.
I tryed to get help at gamemode topic but no answers.
But i translated it without no errors.
And server crashes.
Код:
+0130: 0x02080052 0x00000054 0x00000000 0x00584400 -------------------------- SA-MP Server: 0.3c Exception At Address: 0x004A4B44 Registers: EAX: 0x00000000 EBX: 0x00000400 ECX: 0x00000100 EDX: 0x7EFEFEFF ESI: 0x00000000 EDI: 0x04605C30 EBP: 0x0000000F ESP: 0x0018F394 EFLAGS: 0x00010216 Stack: +0000: 0x04E30020 0x046044C8 0x04605C30 0x0047CFFB +0010: 0x04605C30 0x00000000 0x00000400 0x0058B1F0 +0020: 0x00000000 0x0018F3EC 0x05A5127C 0x0000000F +0030: 0x0048837E 0x43F38000 0x43A00000 0x00000000 +0040: 0x0058B1F0 0x0058B1F0 0x04F44670 0x04E30020 +0050: 0x00000000 0x0576A004 0x04F908F0 0x00401096 +0060: 0x0058B1F0 0x05A5127C 0x052C4034 0x00402BB3 +0070: 0x0058B1F0 0x0000007D 0x0018F424 0x05A5127C +0080: 0x0018F8B4 0x00000000 0x00000000 0x0058B1F0 +0090: 0x00461048 0x00461048 0x0078D248 0x0078D414 +00A0: 0x0056D548 0x0078D408 0x0056D548 0x04F44670 +00B0: 0x052C4034 0x00000000 0x04F40020 0x0037F9C4 +00C0: 0x0048782E 0x0058B1F0 0x0018F8A4 0x0000024D +00D0: 0x646D637A 0x476E4F5F 0x4D656D61 0x4965646F +00E0: 0x0074696E 0x0058B1F0 0x0058B1F0 0x04F44670 +00F0: 0x00000000 0x00000000 0x00000000 0x00000000 +0100: 0x00000000 0x00000000 0x00000000 0x00000000 +0110: 0x00000000 0x00000000 0x00000000 0x00000000 +0120: 0x00000000 0x00000000 0x00000000 0x00000000 +0130: 0x0000000A 0x027F0000 0x000000D0 0x027FF290
Код:
new Language[MAX_PLAYERS] = 0; SendClientMessage(playerid,0xC0C0C0FF,"Please choose a language : /en /et(default is EN)"); CMD:help(playerid,params[]){ #pragma unused params switch (Language[playerid]) { case 0: { SendClientMessage(playerid, COLOR_YELLOW, "For GENERAL commands, please type /commands. -=|=- For ADMIN/ACCOUNT commands, please type /lhelp."); SendClientMessage(playerid, COLOR_YELLOW, "For VEHICLE commands please type /v(menu/list). -=|=- For BUSINESS commands, please type /bmenu."); SendClientMessage(playerid, COLOR_YELLOW, "For HOUSE commands, please type /hmenu -=|=- For BANK commands, please type /bankhelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "For MEDIC commands, please type /medichelp(l). -=|=- For LAW commands, please type /lawhelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "For CELLPHONE commands, please type /cellhelp(l). -=|=- For CRIMINAL commands, please type /crimehelp(l)"); SendClientMessage(playerid, COLOR_YELLOW, "For TELEPORT commands, please type /telehelp(l). -=|=- For GANG commands, please type /ganghelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "For RACE commands, please type /racehelp(l). -=|=- For WEED commands, please type /weedhelp(l)"); SendClientMessage(playerid, COLOR_YELLOW, "For help using the new LIST UI, please type /listhelp"); } case 1: { SendClientMessage(playerid, COLOR_YELLOW, "ЬLDISED kдsud /commands. -=|=- ADMINI kдsud /lhelp."); SendClientMessage(playerid, COLOR_YELLOW, "SХIDUKI kдsud /v(menu/list). -=|=- ДRA kдsud /bmenu."); SendClientMessage(playerid, COLOR_YELLOW, "KODU kдsud /hmenu -=|=- PANGA kдsud /bankhelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "MEEDIKU kдsud /medichelp(l). -=|=- SEADUSE kдsud /lawhelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "MOBIILI kдsud /cellhelp(l). -=|=- KURJATEGIJA kдsud /crimehelp(l)"); SendClientMessage(playerid, COLOR_YELLOW, "TELEPORDI kдsud /telehelp(l).-=|=- KДNGI kдsud /ganghelp(l)."); SendClientMessage(playerid, COLOR_YELLOW, "RALLY kдsud /racehelp(l). -=|=- KANEPI kдsud /weedhelp(l)"); SendClientMessage(playerid, COLOR_YELLOW, "LIST UI kдsud /listl ja abi /listhelp"); } } return 1; } CMD:en(playerid,params[]) { Language[playerid] = 0; SendClientMessage(playerid,0xC0C0C0FF,"You choose the english language."); return 1; } CMD:et(playerid,params[]) { Language[playerid] = 1; SendClientMessage(playerid,0xC0C0C0FF,"Sa valisid eesti keele. (Terve mдng ei ole eesti keelde tхlkitud)"); return 1; }