Raised This Month: $ Target: $400
 0% 

Change health


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 10-17-2005 , 21:01  
Reply With Quote #1

The way you coded it is wrong, you have it all mixed up and added the same thing multiple times. This should be the layout of your code:

Code:
public plugin_init() {    /// Your registered (plugin, commands, cvars, etc. here) } public yourfunction(id) {    // Your code for your function (command you registered above, cvar, etc. here ) }

That's basicly the simplified layout if your making a simple plugin like that.
Peli is offline
Send a message via MSN to Peli
Reply



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 23:56.


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