Archived copy of ownageclan.com, the |OWNAGE| clan’s site and forum (2007–2010) and later War3Source’s wiki and code, rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-07-17 (original capture). Clan site · Forum · All archived topics · War3Source wiki · War3Source SVN
Welcome to |OWNAGE| Clan Forum Index Welcome to |OWNAGE| Clan
Www.OwnageClan.Com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   ChatChat   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Noclip Script

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Welcome to |OWNAGE| Clan Forum Index -> General / Chat / News
View previous topic :: View next topic  
Author Message
X.159.44.138
Anonymous





PostPosted: Tue Nov 18, 2008 10:47 pm    Post subject: Noclip Script Reply with quote

I'm sorry, too lazy to see if compiles/works.

Someone test it out and tell me if it does? Thx.
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN   "[Amxx]Noclip"
#define AUTHOR   "Bloodshot"
#define VERSION   "0.0.1"

new g_noclip

public plugin_init()
{
   register_plugin(PLUGIN, VERSION, AUTHOR)
   register_clcmd("say /noclip %s", "noclip", ADMIN_BAN)
   g_noclip = register_cvar("noclipcommand", "1")
}

public noclip(id)
{
   if (get_user_noclip == 1 && get_pcvar_num(g_noclip) == 1)
   {
      set_user_noclip(0)
   }
   else
   {
      client_print(id, print_chat("[Amxx]Noclip is not turned on"))
   }
   if (get_user_noclip == 0 && get_pcvar_num(g_noclip) == 1)
   {
      set_user_noclip(1)
   }
   else
   {
      client_print(id, print_chat("[Amxx]Noclip is not turned on."))
   }
}
Back to top
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Welcome to |OWNAGE| Clan Forum Index -> General / Chat / News All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group