Raised This Month: $ Target: $400
 0% 

Don't close motd with space?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loyc
New Member
Join Date: Dec 2010
Old 12-05-2010 , 08:10   Don't close motd with space?
Reply With Quote #1

Hi.
I have a webpage in my motd and there is some fields that player can write in, but when they press space motd closes. Is there a way to change this?
loyc is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-05-2010 , 08:19   Re: Don't close motd with space?
Reply With Quote #2

I think its not possible for them to write in a motd window
A better option will to force thier internet browser to open that web page through some html coding (but i dont have any idea regarding html)
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
loyc
New Member
Join Date: Dec 2010
Old 12-05-2010 , 08:22   Re: Don't close motd with space?
Reply With Quote #3

Yes i have motd redirect to my web page and in there i have form. I can write, but i need to separate words with spaces. When i hit space it closes.
loyc is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-05-2010 , 08:48   Re: Don't close motd with space?
Reply With Quote #4

Thats bcoz motd close if you hit enter or space key !
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
loyc
New Member
Join Date: Dec 2010
Old 12-05-2010 , 08:49   Re: Don't close motd with space?
Reply With Quote #5

yes. thats why I am asking is there a way, plugin, mod etc to stop it.
loyc is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-05-2010 , 08:56   Re: Don't close motd with space?
Reply With Quote #6

Quote:
Originally Posted by loyc View Post
yes. thats why I am asking is there a way, plugin, mod etc to stop it.
No , i dont think so
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
bibu
Veteran Member
Join Date: Sep 2010
Old 12-05-2010 , 09:15   Re: Don't close motd with space?
Reply With Quote #7

Impossible.
bibu is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 12-05-2010 , 09:59   Re: Don't close motd with space?
Reply With Quote #8

possible i have the code

Code:
#include <amxmodx>

#define PLUGIN "Motd Block"
#define VERSION "1.0"
#define AUTHOR "Ser_UFL"

public plugin_init()
    register_plugin(PLUGIN, VERSION, AUTHOR)

public client_putinserver(id)
    set_task(0.1, "MotdBlock", id, "", 0, "a", 100)  // 100 means - 10 seconds u cant close it

public MotdBlock(id)
    show_motd(id, "motd.txt", "RULES")
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-05-2010 , 10:09   Re: Don't close motd with space?
Reply With Quote #9

Quote:
Originally Posted by avril-lavigne View Post
possible i have the code

Code:
#include <amxmodx>

#define PLUGIN "Motd Block"
#define VERSION "1.0"
#define AUTHOR "Ser_UFL"

public plugin_init()
    register_plugin(PLUGIN, VERSION, AUTHOR)

public client_putinserver(id)
    set_task(0.1, "MotdBlock", id, "", 0, "a", 100)  // 100 means - 10 seconds u cant close it

public MotdBlock(id)
    show_motd(id, "motd.txt", "RULES")
Will the webpage even load when you show the MOTD 100 times in 10 seconds?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-05-2010 , 10:36   Re: Don't close motd with space?
Reply With Quote #10

Quote:
Originally Posted by avril-lavigne View Post
possible i have the code

Code:
#include <amxmodx>

#define PLUGIN "Motd Block"
#define VERSION "1.0"
#define AUTHOR "Ser_UFL"

public plugin_init()
    register_plugin(PLUGIN, VERSION, AUTHOR)

public client_putinserver(id)
    set_task(0.1, "MotdBlock", id, "", 0, "a", 100)  // 100 means - 10 seconds u cant close it

public MotdBlock(id)
    show_motd(id, "motd.txt", "RULES")
That would even work, and will annoy the client instead
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
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 11:22.


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