Raised This Month: $ Target: $400
 0% 

Block killing when reading


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FoX Rider
Member
Join Date: Feb 2005
Location: AK
Old 03-09-2005 , 00:51   Block killing when reading
Reply With Quote #1

How do you make it so when someone is reading something they can't be killed. I.E. /rules
__________________
Ride for fox..Die for fox.
FoX Rider is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-09-2005 , 12:03  
Reply With Quote #2

You'd have to get when they are reading/ have started reading a motd, and then god them. Seems a bit hard to me.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
FoX Rider
Member
Join Date: Feb 2005
Location: AK
Old 03-09-2005 , 13:48  
Reply With Quote #3

Well, how would I do it when they are reading? I think I've heard of a code that has this..just don't know where..

-Edit- Would you use...set_msg_block ( msgId, flag ) Then set godmode on them?
__________________
Ride for fox..Die for fox.
FoX Rider is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 03-09-2005 , 14:05  
Reply With Quote #4

When they are reading??
AMX Mod X dont have a camera in your computer that sees when peoples eyes are reading stuff...
Only way could be when reading motd messages...
XunTric is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-09-2005 , 15:18  
Reply With Quote #5

You can't really get when a MoTD box is closed, unless perhaps you register an onClose event or whatever it is in JS and then on that event send a command to the server via PHP that they are no longer reading, but it sounds too much trouble than it's worth.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Da Bishop
Senior Member
Join Date: Aug 2004
Location: Chester County PA
Old 03-09-2005 , 15:40  
Reply With Quote #6

Make like a console cmd they can type that gives em god and makes so they can't move or shoot. THen a different cmd to turn it all off.
__________________
Anything that is done can only be done better by urself - since life is a opinion make it the way urs feel its best

~live by it
Da Bishop is offline
Send a message via MSN to Da Bishop
BlueRaja
Senior Member
Join Date: Nov 2004
Old 03-09-2005 , 21:49  
Reply With Quote #7

Yes, that's a fantastic idea, I could just see it now:
*terrorist plants bomb, then becomes invincible and waits until CT tries to defuse - BAM right to the back of the head*
__________________
STEPS IN TROUBLESHOOTING <insert anything here>:
1. Narrow down the problem to a specific condition or conditions.
2. Fix it.
BlueRaja is offline
Send a message via AIM to BlueRaja Send a message via MSN to BlueRaja
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 14:15.


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