Jump to content
Password for all archives on our forum: 123
Reminder : All files uploaded before October 2020 are corrupted

question Some errors while compiling...


Recommended Posts

Hello, who can help me with this error? I can't fix it, i don't have any other ideas to make it:
error C2440: 'initializing': cannot convert from 'initializer list' to std::vector<WeaponName_t,std:allocator<WeaponName_t>>

The error lines is: 
std::vector<WeaponName_t> WeaponNames =
{             <--------- here is the error
{ here i put all codes (7,8,9,63 etc "All Weapons" },   <---- if i delete this it's work but i want to make at aimbot to work with all weapons not just with ak or just with aug, so can someone help me?
{ 7, "AK-47" },
{ 8, "AUG" },
{ 9, "AWP" },
{ 63, "CZ75 Auto" },
{ 1, "Desert Eagle" },
{ 2, "Dual Berettas" },
{ 10, "FAMAS" },
{ 3, "Five-SeveN" },
{ 11, "G3SG1" },
{ 13, "Galil AR" },
{ 4, "Glock-18" },
{ 14, "M249" },
{ 60, "M4A1-S" },
{ 16, "M4A4" },
{ 17, "MAC-10" },
{ 27, "MAG-7" },
{ 33, "MP7" },
{ WEAPON_MP5, "MP5" },
{ 34, "MP9" },
{ 28, "Negev" },
{ 35, "Nova" },
{ 32, "P2000" },
{ 36, "P250" },
{ 19, "P90" },
{ 26, "PP-Bizon" },
{ 64, "R8 Revolver" },
{ 29, "Sawed-Off" },
{ 38, "SCAR-20" },
{ 40, "SSG 08" },
{ 39, "SG 553" },
{ 30, "Tec-9" },
{ 24, "UMP-45" },
{ 61, "USP-S" },
{ 25, "XM1014" }
};

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

CORSAIR

Copyright © 2021. corsair.wtf . All rights reserved. All trademarks, copyrights and content belongs to their respective owners. All information on the project is provided for informational purposes only. The administration is not responsible for the files on this portal.

Important Links

×
×
  • Create New...