.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
NoOb needs help making a plugin
Old
  (#1)
MoOfTaStIc
Member
 
Status: Offline
Posts: 3
Join Date: Feb 2008
Default NoOb needs help making a plugin - 02-02-2008

Complete noob here in need of either a plugin or help building a plugin for metamod that will allow users to freeze and unfreeze props using the ent_fire commands, A: without sv_cheats being on and B: commands such as freeze and unfreeze that allow the user to type bind (key) freeze, and bind (key) unfreeze. I know that for the sv_cheats portion you have to use AcceptEntityInput(ent, "DisableMotion", -1, -1, 0), and probably AcceptEntityInput(ent, "EnableMotion", -1, -1, 0). That is about the extent of what i know about this, However i am very willing to learn. I tend to learn better by first hand experience and not by reading, this is why i have come here. Any help would be greatly appreciated.
  
Reply With Quote
Re: NoOb needs help making a plugin
Old
  (#2)
MoOfTaStIc
Member
 
Status: Offline
Posts: 3
Join Date: Feb 2008
Default Re: NoOb needs help making a plugin - 02-02-2008

What i have so far is...

#include <sourcemod>

public Plugin:myinfo =
{
name = "freeze unfreeze plugin",
author = "MoOfTaStIc",
description = "My first plugin ever",
version = "1.0.0.0",
url = "http://www.sourcemod.net/"
};

public OnPluginStart()
{
native bool:AcceptEntityInput(ent, "DisableMotion", -1, -1, 0)
native bool:AcceptEntityInput(ent, "EnableMotion", -1, -1, 0)
}
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com