Plugin does nothing
Hi
I've just begun to skript with amx. I have a Problem with my first Plugin: It does nothing. Amxx say that it ios loaded and it does not show any errors. It writes nothing to the logfile or the console, but it should print something when it has been loaded(log_amx). Code:
THX Neo |
I won't fix it but I will help you along.
First, dont use variable = "string". you must use format, copy, or any string function for that. Second, change set_task(Float:10.0,.... to set_task(10.0,.... if you are supplying a floating point number you don't use the Float: Third, using if (read_argc() == 0) return PLUGIN_HANDLED in the menu call back will always return. There aren't arguments in that function call. |
variable = "string" is fine, though you have to be careful not to overrun the buffer.
|
I have solved the problem, but now there is a new one:
Code:
|
Where do you see what is in the database? Maybe your reading it out wrong.
|
I don't read anything out of it. I Just write some values into it. A VB Programm reads the data and tells me in real time if somebody is needing an admin. He saves all the values, but not the name. I think the id is right, because he displays the hudmessage.
|
| All times are GMT -4. The time now is 16:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.