Hi. I'm just playing around a little with all the different stuff you can do with the engine module....
I made this:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "."
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id) {
if(!is_user_bot(id) && !is_user_hltv(id)) {
set_view(id, CAMERA_3RDPERSON)
}
}
But whenever I try to connect to the server it crashes, but I can't see the problem with this code; it should work, right?
__________________