darkerz7 / CSGO-Plugins

My Plugins
46 stars 35 forks source link

buttonwatcher problem #35

Closed rcon420 closed 4 years ago

rcon420 commented 4 years ago

[SM] Unable to load plugin "buttonwatcher.smx": Could not find required plugin "entwatch_csgo_dz.smx" I use new Entwatch plugin working fine.

Can you help me out?

i tried to update button watch but without success.

darkerz7 commented 4 years ago

in version 3.DZ.x the include has changed. need to change in lines #6 #include <entWatch> -> #include <EntWatch>

567 and #578 if(entWatch_IsSpecialItem(iButton)) return Plugin_Continue; -> if(EntWatch_IsSpecialItem(iButton)) return Plugin_Continue;

934 if(entWatch_IsSpecialItem(caller)) return Plugin_Continue; -> if(EntWatch_IsSpecialItem(caller)) return Plugin_Continue;

rcon420 commented 4 years ago

Thank you for pointing out silly mistake What I made forgot to update Include name :)° Plugin works!