You don't need to return something here.
So, just do like:
Code:
public checkMap()
{
get_mapname( map, 32 )
if( equali( map, "awp_", 4 ) )
return;
}
If you want to return something :
Code:
public checkMap()
{
get_mapname( map, 32 )
if( equali( map, "awp_", 4 ) )
return PLUGIN_CONTINUE;
return PLUGIN_CONTINUE;
}
Your error is because you have to return something at the end of your function.
__________________