Raised This Month: $51 Target: $400
 12% 

[CSS] entWatch - Events for custom map weapons


Post New Thread Reply   
 
Thread Tools Display Modes
drummer1249
Junior Member
Join Date: Apr 2014
Old 07-31-2014 , 22:25   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #11

Hey zacade, got a little impatient and wrote one myself . I've attached the source.

!etemp is a command that bans a player for 20 minutes and then unbans. It only works while the player is in the server. If the player rejoins to avoid the temp ban, the 20 minutes start all over again.

Also for the harry potter map (and any future map that has human and zombie shops), I added an OnTouch to triggers_ and "torient" to the configuration file. "torient" pushes a restricted player in a certain direction when that player touches the triggers hammer id as designated in the map cfg.
Attached Files
File Type: zip Modified ent_Watch.zip (55.5 KB, 494 views)
drummer1249 is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 08-09-2014 , 07:05   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #12

What is the cvar to remove steam id from the message? And what for all the players must know the steamid of the player that picked up an item?
Current message takes 2 lines in the chat (because of steam id)
btw, there is another map with a lot of items - ze_slender_b7

Last edited by kadet.89; 08-09-2014 at 07:36.
kadet.89 is offline
Send a message via Skype™ to kadet.89
drummer1249
Junior Member
Join Date: Apr 2014
Old 10-22-2014 , 20:21   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #13

"entities"
{
"0"
{
"name" "Glow Stick"
"shortname" "Glow Stick"
"color" "3EFF3E"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "6394"
"mode" "1"
"maxuses" "0"
"cooldown" "0"
"maxamount" "5"
}
"1"
{
"name" "Flash Light"
"shortname" "Flash Light"
"color" "FFD700"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "5250"
"mode" "1"
"maxuses" "0"
"cooldown" "0"
"maxamount" "8"
}
"2"
{
"name" "Lantern"
"shortname" "Lantern"
"color" "FFD700"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "5681"
"mode" "1"
"maxuses" "0"
"cooldown" "0"
"maxamount" "5"
}
"3"
{
"name" "Fuel"
"shortname" "Fuel"
"color" "F8F8FF"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "129822"
"mode" "1"
"maxuses" "0"
"cooldown" "0"
"maxamount" "8"
}
"4"
{
"name" "Monkey Bomb"
"shortname" "Monkey"
"color" "BC8F8F"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "779005"
"mode" "1"
"maxuses" "0"
"cooldown" "0"
"maxamount" "1"
}
"5"
{
"name" "Spider"
"shortname" "Spider"
"color" "FFFFFF"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "738270"
"mode" "0"
"maxuses" "0"
"cooldown" "0"
"maxamount" "3"
}
"6"
{
"name" "Slender Zombie"
"shortname" "Slender Zombie"
"color" "FF4040"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "979587"
"mode" "0"
"maxuses" "0"
"cooldown" "0"
"maxamount" "3"
}
"7"
{
"name" "Barrel"
"shortname" "Barrel"
"color" "DEB887"
"buttonclass" "func_button"
"filtername" ""
"hasfiltername" "false"
"blockpickup" "false"
"allowtransfer" "true"
"forcedrop" "true"
"chat" "true"
"hud" "true"
"hammerid" "61593"
"mode" "0"
"maxuses" "0"
"cooldown" "0"
"maxamount" "3"
}
}
drummer1249 is offline
ThePunkyRabbid
Junior Member
Join Date: Aug 2013
Old 02-04-2015 , 13:08   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #14

Is it possible to print a message if someone presses a certain button (like elevator activator)
ThePunkyRabbid is offline
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 04-17-2015 , 00:11   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #15

Quote:
Originally Posted by lingzhidiyu View Post
csgo support?
Yes!!! This plugin works on CSGO.

Example:

__________________
Bad Cold Man is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-30-2015 , 02:37   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #16

can we use the map config from css in csgo?
__________________
8guawong is offline
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 02-19-2016 , 23:01   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #17

Pls fix erorr:
L 02/19/2016 - 21:485: [SM] Native "SDKHooks_DropWeapon" reported: Weapon 239 is not owned by client 10
L 02/19/2016 - 21:485: [SM] Displaying call stack trace for plugin "entWatch.smx":
L 02/19/2016 - 21:485: [SM] [0] Line 284, D:\Servers\counterstrike\cstrike\addons\sourc emod\scripting\entWatch.sp::Event_PlayerDeath ()


Thx,
__________________
respecta si vei fi respectat
bebe9b is offline
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 03-08-2016 , 21:49   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #18

L 03/08/2016 - 13:025: [SM] Native "SDKHooks_DropWeapon" reported: Entity index 150 is not a weapon
L 03/08/2016 - 13:025: [SM] Displaying call stack trace for plugin "entWatch.smx":
L 03/08/2016 - 13:025: [SM] [0] Line 284, D:\Servers\counterstrike\cstrike\addons\sourc emod\scripting\entWatch.sp::Event_PlayerDeath ()
__________________
respecta si vei fi respectat
bebe9b is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-09-2016 , 17:23   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #19

It's possible to disable STEAM ID?
NanoC is offline
Send a message via Skype™ to NanoC
sampater6
New Member
Join Date: Jul 2018
Old 07-08-2018 , 17:01   Re: [CSS] entWatch - Events for custom map weapons
Reply With Quote #20

Quote:
Originally Posted by bad cold man View Post
yes!!! This plugin works on csgo.

example:

help pls very neeedddddd!!!!!
sampater6 is offline
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 15:20.


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