Raised This Month: $ Target: $400
 0% 

Im stuck


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SuperDuper
Member
Join Date: May 2006
Location: na
Old 05-21-2006 , 19:58   Im stuck
Reply With Quote #1

Im trying to make a plugin where when you activate it, everyone has crazy health, speed, armor and gravity. but now i am stuck and dont know how to finish. can anyone help?

Code:
#include <amxmodx>   #include <amxmisc>   #include <fun>   #include <engine> #include <cstrike> #define PLUGIN "Epic"   #define VERSION "1.0"   #define AUTHOR "SuperDuper" public plugin_init()     {       register_plugin(PLUGIN, VERSION, AUTHOR)             register_clcmd("amx_epicon", "cmd_epicon")     register_clcmd("amx_epicoff", "cmd_epicoff") } public cmd_epicon(id, level, cid) {     if (!cmd_access(id, level, cid, 1))               return PLUGIN_HANDLED                   set_user_footsteps (id, 1)       set_user_health(id, 5000)     set_user_gravity (id, 0.20)     set_user_maxspeed (id, -3.0)     set_user_armor (id, 5000)   }   public cmd_epicoff(id, level, cid) {     if (!cmd_access(id, level, cid, 0))             return PLUGIN_HANDLED                 set_user_fottsteps (id, 0)     set_user_health(id, 100)            set_user_gravity(id, 1.0)     set_user_maxspeed(id, 1.0)      set_user_armor(id, 100) }

thans...
__________________
[Team.Profit] Profit' <LDR>. Our server owns!

CS:CZ or DIE
SuperDuper is offline
Send a message via AIM to SuperDuper Send a message via MSN to SuperDuper Send a message via Yahoo to SuperDuper
 


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 16:24.


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