compiling error 035
Hello. I was trying to compile sourcebans plugin and got "error 035: argument type mismatch (argument 2)".
// setup dummy adminAuth and adminIp for server strcopy(adminAuth, sizeof(adminAuth), "STEAM_ID_SERVER"); strcopy(adminIp, sizeof(adminIp), ServerIp); } else { GetClientIP(admin, adminIp, sizeof(adminIp)); GetClientName(admin, AuthId_Steam2, adminAuth, sizeof(adminAuth)); } Maybe someone can tell me how to fix that error. |
Re: compiling error 035
Are you changing the plugin to authenticate admins by name instead of Steam ID? That seems fishy...
|
Re: compiling error 035
Yes, you got it right :D. i did that on older versions, but on this it's not working. First i got errors because i had old sourcemod version, but now i have 1.8 and getting that 035 error. When i try to compile sourcebans.sp without any changes i had same error. Maybe i need some inc files or different sourcemod verssion?
Now i dont have that error, but im not sure if it works. Just removed AuthId_Steam2, i just think that i dont need that :D |
All times are GMT -4. The time now is 09:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.