Raised This Month: $ Target: $400
 0% 

Why doesn't


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NiGHTFiRE
Senior Member
Join Date: Dec 2004
Location: Sweden
Old 03-17-2005 , 13:24   Why doesn't
Reply With Quote #1

Hello
I'm trying to learn some small now and I have made a little stupid plugin just to learn but I can't get it to work
Here is the code, please can anyone say what I have done wrong and dont just say bla bla, please show me with code so I know the next time.

Code:
#include <amxmodx> #include <fun>   public plugin_init() {   regester_plugin("God in Server", "1.0", "NiGHTFiRE")   regester_cvar("amx_god")     }     public client_putinserver(id)  {      if (get_cvar_num("amx_god") > 0)      {           set_user_godmode(id, get_cvar_num("amx_god"))           } else {           set_user_godmode(id, get_cvar_num("mp_god"))                    } }
NiGHTFiRE is offline
Send a message via AIM to NiGHTFiRE Send a message via MSN to NiGHTFiRE
 


Thread Tools
Display Modes

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 14:12.


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