Thanks for the response Fyren:
PHP Code:
#if !defined _player_methodmap_include
#define _player_methodmap_include
/*
* Base CS:GO plugin requirements.
*/
#include <clientprefs>
#include <sourcemod>
#include <sdktools>
#include <cstrike>
methodmap Player {
public Player(int client) {
return view_as<Player>(client);
}
public void Invisible(bool invisible) {
if (invisible) {
SetEntityRenderMode(view_as<int>(this), RENDER_NONE); // RENDER_NONE
} else {
SetEntityRenderMode(view_as<int>(this), RENDER_NORMAL); // RENDER_NORMAL
}
}
}
#endif
I've tried to strip down the error to its base components, here we only include base SM plugins and I still get the error. How did you get it to compile? I'm currently using SM 1.8, 6041, if that makes any difference.