personal plugin coding problem
im having a little problem. Im new to the coding, and have been trying it out for myself. In this plugin that I mostly tooks from the credit mod plugin, just changes the model of the knife to the crobar. here is the code:
Quote:
Quote:
Please note that i have next to no expierience with plugins. Any help would be greatly appreciated. |
You need to include "engine" because that's where entity_get_string is defined.
Code:
Also of note, whenever you have a series of errors as you've just shown, ignore all but the first one. The rest are usually a result of the first. |
ahh ok thank you
|
hmm also i tried that and came up some new errors that I cant figure out...
Quote:
Quote:
|
You never closed the plugin_init function. Everytime you have a left brace, you need a matching right brace.
Also, whenever you post code, post it in the [small ] tags. |
Code:
All the errors are gone now =) |
Quote:
|
Code:
Argument 2 is the weaponid. http://ghw-amxx.biz/cs_events.html << You need to look at this. |
Oh sweet I've been looking for one of these 8)
Thanks :D |
[quote = teame06]http://ghw-amxx.biz/cs_events.html << You need to look at this.
[/quote] the link doesnt load for me... |
| All times are GMT -4. The time now is 15:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.