Raised This Month: $32 Target: $400
 8% 

Automatic knife duel


Post New Thread Reply   
 
Thread Tools Display Modes
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-23-2005 , 03:50  
Reply With Quote #21

Menu must be registered properly.

You have

Code:
format(menu, 1023, "You are challenged by %s to a knife duel!!^n^nWhat will it be? You have %d seconds to answer!^n^n\y1\w. Bring it on!^n\y2\w. No, I'd rather use my boomstick!", challenger_name, DECIDESECONDS) show_menu(challenged, keys, menu)

and

Code:
g_challengemenu = register_menuid("You are challenged")

in original plugin.

The menu is identified with register_menuid() using the initial phrase of the menu. You changed the initial phrase to this:
format(menu, 1023, "%s 殺給你一封刀戰挑戰書^n^n - 你還在等什麼?你只剩下 %d 秒可以回答!^n^n\y1\w. 放馬過來!^n\y2\w. 不了,我是孬種", challenger_name, DECIDESECONDS)

and thus the menu wouldn't be registered...
I got around this by doing
Code:
show_menu(challenged, keys, menu, -1, "themenutitle")

and then
Code:
g_challengemenu = register_menuid("themenutitle")
Johnny got his gun is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 02-23-2005 , 08:06  
Reply With Quote #22

nice i give it a 4
__________________
- Bye bye!
nightscreem is offline
TooL
Senior Member
Join Date: May 2004
Location: NC
Old 02-23-2005 , 10:39  
Reply With Quote #23

How does this plugin work in knife only maps?
__________________
TooL is offline
Send a message via ICQ to TooL Send a message via AIM to TooL Send a message via MSN to TooL Send a message via Yahoo to TooL
meowlike
Junior Member
Join Date: Sep 2004
Location: Taiwan
Old 02-23-2005 , 12:39  
Reply With Quote #24

Quote:
Originally Posted by Johnny got his gun
Menu must be registered properly.

You have

[small]format(menu, 1023, "You are challenged by %s to a knife duel!!^n^nWhat will it be? You have %d seconds to answer!^n^n\y1\w. Bring it on!^n\y2\w. No, I'd rather use my boomstick!", challenger_name, .
.
.
.
.
*DELETE*

oh... i see, thx for the detail
so i also can reg the g_challengemenu to the ""%s 殺給你" ?
or the value "%s" can't be reg in the g_challengemenu?

by the way, r u japanese?
I come from taiwan, we all LOVE about japan things XD

like 宮崎駿son, her new movie "霍爾的移動城堡" i'm so LOVE it lol
meowlike is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-23-2005 , 13:38  
Reply With Quote #25

No, you can't reg to "%s..." because %s is changed to the name and it will be different everytime.

日本人いません。スエデン人です。I will have to check that movie out. :-)
Johnny got his gun is offline
robbob4
Senior Member
Join Date: Jan 2005
Old 02-23-2005 , 20:02  
Reply With Quote #26

Quote:
Originally Posted by TooL
How does this plugin work in knife only maps?
It works just fine, but auto knife DUEL is only for 1 on 1, so even if you challenge somone and they accept, it doesnt change, only messages appear!
robbob4 is offline
meowlike
Junior Member
Join Date: Sep 2004
Location: Taiwan
Old 02-24-2005 , 01:48  
Reply With Quote #27

Quote:
Originally Posted by Johnny got his gun
No, you can't reg to "%s..." because %s is changed to the name and it will be different everytime.

日本人いません。スエデン人です。I will have to check that movie out. :-)
i know first japanese is "i'm not japanese." but 片假名(Katakana) I couldn't understand XD. So i ask my friend, final know that means:" i am Sweden"

WHERE U BORN? Sweden or japan? i'm so curious
meowlike is offline
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 02-24-2005 , 01:58  
Reply With Quote #28

bo ku wa nehongin desu demo ammaly nehongo yo ku nai bu ku wa hambun kankokugin desu. bo ku wa zen zen nehongo toe kankoku yoku nai demo kono plugin yo ku sukatelo omoshloe!

sorry about my japense even tho Im half japanese / korean I can't speak it very well..
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 02-24-2005 , 02:09  
Reply With Quote #29

This is going offtopic, start a new thread and link to that ;)
Cryonic is offline
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 02-24-2005 , 02:14  
Reply With Quote #30

Quote:
Originally Posted by Cryonic
This is going offtopic, start a new thread and link to that ;)
ummm...? not really I just told him how great his plugin is
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
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 23:12.


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