If you use Lite-C, then you must write the flags like this IGNORE_PASSABLE | IGNORE_PASSENTS | GLIDE. But if you use C-Script you can keep it like you have. Of what type is your player_pos? Is it a VECTOR* or a simple var? You need a VECTOR* or a var array with the size of 3 to get it working.