Ok I'm pretty new to this stuff (last time I wrote a plugin was for amx 0.9.7

) ... but a friend asked me to write a little plugin and since it didn't seem SO hard to do, I gave it a try. All fine, cept I'm running against a wall using the find_player() function.
Code:
public catch_say(id)
{
if (g_playermode[id]==0) return PLUGIN_CONTINUE
new message[192]
new playername[32]
new param[32]
new player = 0
read_args(message, 191)
strtok(message,playername,32,param,32,' ')
player = find_player("bhl",playername)
if (!player)
{
server_cmd("say Couldn't find player with: %s", playername)
g_playermode[id]=0
return PLUGIN_CONTINUE
}
...
This function is called when a player "says" something using "messagemode". I then try to extract a playername as first word in the messagetext. But find_player("bhl"...) doesn't return a player number. But in the following error message I see that "playername" has exactly the value I expect it to have (the part of the playername extracted from the message). I also tried with all other flags of "find_player()" ... it's simply not working. But if I hardcode a playername e.g.
Code:
find_player("a","TheEagle")
it works.
Any1 got an idea what I am doing wrong?
(Amxx version 1.60, Metamod 1.18, Windows)