would it work if you did:
game.getplayer().game.addperkpoints(1)
I don't know, maybe it has to be directed at something?
Perk points are only kept for the player, so I would assume a hidden global value is used by the game engine to store the value. So pointing to the player or any actor does not make sense to me. Also, doing that causes the script to fail to compile, so I don't think an alias is allowed on the function.
I am not sure what Mardoxx meant with the player alias? In an 'actor' script?