plugin compiled, no errors, but not working
Hi there,
I tried to made a little test-plugin so I can get used to SourcePawn and how it all works. The plugin was supposed to do an SQL-Query on playerdeath and look if the player who died has an entry in the database and then type something in the chat depending on the result of the query. I don't get errors while compiling, the plugin successfully loads, but it doesn't do anything and I don't get any errors. PHP Code:
I'm sure it's just a little noob-mistake or something I just don't know yet or I haven't considered...but since there seems to be no way to debug those plugins at runtime (correct me if I'm wrong) and I already spent a few hours trying to figure out why it doesn't work, I would really appreciate every help I can get. Thanks in advance :? |
Re: plugin compiled, no errors, but not working
Is the plugin actually running?
Also, you don't need to include <tf2> |
Re: plugin compiled, no errors, but not working
Quote:
Quote:
|
Re: plugin compiled, no errors, but not working
make sure the event is right. Im assuming your making this plugin for tf2. maybe player_death isnt the right event for when a player dies in tf2 (it would make sense that it is, but you never know)
|
Re: plugin compiled, no errors, but not working
Quote:
|
| All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.