Raised This Month: $ Target: $400
 0% 

how can I make a plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-26-2007 , 21:40   Re: how can I make a plugin
Reply With Quote #5

Quote:
Originally Posted by allenwr View Post
I am just doing a check on whether the user is alive or not, and what you did doesnt matter, it still works either way...
It's actually quite important, you not only screwed up on plugin_init (called it plugin_ini, something the compiler wouldn't catch), but also on the return (where you not only screwed up on the typing, but the value itself too).

Don't return PLUGIN_HANDLED in ResetHUD. It blocks the event and probably crashes the server. At the very best, bad things can happen.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode