find_player() problem ...
Ok I'm pretty new to this stuff (last time I wrote a plugin was for amx 0.9.7 :P ) ... 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)Code:
find_player("a","TheEagle")Any1 got an idea what I am doing wrong? (Amxx version 1.60, Metamod 1.18, Windows) |
Solved.
The problem seems to be the read_args() function. It fills the string, I can use it for output for example. But the find_player() function obviously can't read the string. If I use read_argv() to get my string, everything is just fine. Possible bug in read_args? Or am I understanding something wrong here? |
| All times are GMT -4. The time now is 23:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.