January 28, 2021, 01:42:19 am
Home
Forum
Streams
Servers
Wiki
Login
Register
Help
Search
Calendar
L4DNation
»
Community
»
Servers & Adminning
»
#L4D2 need help for skill_detect compile
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: #L4D2 need help for skill_detect compile (Read 6061 times)
GoGetSomeSleep...
Posts: 3
#L4D2 need help for skill_detect compile
«
on:
September 22, 2019, 10:44:55 pm »
plugin.sp(179) : error 169: cannot tag an enum as implicit-int
plugin.sp(187) : error 169: cannot tag an enum as implicit-int
plugin.sp(198) : error 169: cannot tag an enum as implicit-int
https://spider.limetech.io/
https://github.com/Tabbernaut/L4D2-Plugins/tree/master/skill_detect
anybody help?
Logged
diceboy
Posts: 34
Re: #L4D2 need help for skill_detect compile
«
Reply #1 on:
September 26, 2019, 05:08:06 am »
Use sourcemod 1.6 compiler
Logged
dustin
Posts: 48
Re: #L4D2 need help for skill_detect compile
«
Reply #2 on:
September 27, 2019, 10:50:22 pm »
_: has the same meaning as "view_as<int>".
Need to get rid of the type cast for the enum declarations and replace every enum name with
Code:
[Select]
view_as<int>(ENUM_NAME_HERE)
or
Code:
[Select]
_:ENUM_NAME_HERE
e.g. one on the right will compile just fine
https://www.diffchecker.com/wGjv9Ixy
https://pastebin.com/Qq3HdzNn
Could also try this but it wasn't working when i tried it
https://youtu.be/wsZfZrNrh4A?t=522
Logged
GoGetSomeSleep...
Posts: 3
Re: #L4D2 need help for skill_detect compile
«
Reply #3 on:
October 04, 2019, 02:51:41 am »
thank you all
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
L4DNation
»
Community
»
Servers & Adminning
»
#L4D2 need help for skill_detect compile