View Single Post
soft
Junior Member
Join Date: May 2011
Location: Romania
Old 01-20-2021 , 06:27   Re: can somebody to modify this plugin
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
What did you exactly do? When you get an "invalid declaration" on line 1, it means the problem is in the file itself, not the code. Either change the endonding of the file or copy/paste the code in another .sma file that you compiles fine.

the file has a small error at compile but it s work:


when i make the change a menu from rusian language to english:

menu_additem(g_EquipMenuID, "New Weapons", "1", 0, -1);
menu_additem(g_EquipMenuID, "Previous Setup", "2", 0, g_cEquip);
menu_additem(g_EquipMenuID, "Dont show menu again", "3", 0, g_cEquip);
menu_setprop(g_EquipMenuID, MPROP_EXIT, MEXIT_NEVER);

i recive that error what i show it allready doesnt work to compile iven if i change that part what you says is the same thing i recive the same error:
this part:
RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_m4a1", "Weapon_SecondaryAttack_m4a1_Post", true);


[QUOTE=fysiks
Re: can somebody to modify this plugin
You need to change the encoding of the file to "UTF-8 without BOM". This can be done easily in Notepad++ using the menus.[/QUOTE]

i dont understend what you mean with utf8
__________________



Last edited by soft; 01-20-2021 at 06:28.
soft is offline
Send a message via ICQ to soft Send a message via AIM to soft Send a message via Skype™ to soft