No trainers opening

I have scripthook V and everything, and I've used the trainers before fine but now they're not working. I have a trainer in gta 4 that uses the same function key and that one opens fine, but none are working in gta 5. Please help.