Raised This Month: $ Target: $400
 0% 

can i help me to change this menu lang?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lhrcap
Senior Member
Join Date: Dec 2006
Old 02-03-2007 , 13:44   can i help me to change this menu lang?
Reply With Quote #1

Code:
/* AMX Mod script. 
* 
* © Copyright 2002, EJ
* This file is provided as is (no warranties). 
* 
*/ 
/*
* Bind a key to radio4 or type radio4 in console 
*/
#include <amxmodx> 
// Radio4 wav files 
stock const radio4_spk[9][] ={ 
"spk radio/ct_point.wav", 
"spk radio/com_followcom.wav", 
"spk radio/meetme.wav", 
"spk radio/moveout.wav", 
"spk radio/getout.wav", 
"spk radio/ct_imhit.wav", 
"spk radio/hitassist.wav", 
"spk radio/circleback.wav", 
"spk radio/locknload.wav" 
} 
// Eng 'saychats' when using Radio4 
stock const radio4_say[9][] = { 
"good", 
"Ok , follow my command.", 
"Meet at the rendezvous point.", 
"Alright, lets move out.", 
"Team, lets get out of here!", 
"I'm Hit!", 
"I'm Hit, Need Assistance!", 
"Circle around back!", 
"Lock n' Load." 
} 
public radio4(id) { // Client used Radio4 commands 
// What Radio4 menu will look like
new menu_body[] = "\yRadio Misc\w^n\
^n\
1. ^"I'll Take Point^"^n\
2. ^"Follow my Command^"^n\
3. ^"Meet at Rendezvous^"^n\
4. ^"Move Out^"^n\
5. ^"Lets get Out!^"^n\
6. ^"I'm Hit!^"^n\
7. ^"Hit/Assist!^"^n\
8. ^"Circle Back^"^n\
9. ^"Lock n Load^"^n\
^n\
0. Exit"
show_menu(id,1023,menu_body) // Show the above menu on screen 
return PLUGIN_HANDLED 
} 
public radio4cmd(id, key) { 
new players[32],total, team_name[10] 
get_user_team(id,team_name, 9) 
get_players(players, total ,"ce", team_name) // No bots and Match team name
new name[32]
get_user_name(id,name,31)
for(new a=0; a < total; ++a) { 
client_cmd(players[a], radio4_spk[key]) // Play sound 
client_print(players[a],print_chat,"%s (라디오): %s",name,radio4_say[key]) // Print radio message on screen 
}
return PLUGIN_HANDLED 
} 
public plugin_precache() {
precache_sound(radio4_spk[0][4])
precache_sound(radio4_spk[1][4])
precache_sound(radio4_spk[2][4])
precache_sound(radio4_spk[3][4])
precache_sound(radio4_spk[4][4])
precache_sound(radio4_spk[5][4])
precache_sound(radio4_spk[6][4])
precache_sound(radio4_spk[7][4])
precache_sound(radio4_spk[8][4])
return PLUGIN_CONTINUE 
} 
public plugin_init(){
register_plugin("Radio4","1.1","Martin")
register_dictionary("radio4.txt")
register_clcmd("radio4", "radio4")
register_menucmd(register_menuid("Radio Misc"),511,"radio4cmd")
return PLUGIN_CONTINUE 
}


i want to change this code lang change

Code:
// Eng 'saychats' when using Radio4 
stock const radio4_say[9][] = { 
"good", 
"Ok , follow my command.", 
"Meet at the rendezvous point.", 
"Alright, lets move out.", 
"Team, lets get out of here!", 
"I'm Hit!", 
"I'm Hit, Need Assistance!", 
"Circle around back!", 
"Lock n' Load." 
} 
public radio4(id) { // Client used Radio4 commands 
// What Radio4 menu will look like
new menu_body[] = "\yRadio Misc\w^n\
^n\
1. ^"I'll Take Point^"^n\
2. ^"Follow my Command^"^n\
3. ^"Meet at Rendezvous^"^n\
4. ^"Move Out^"^n\
5. ^"Lets get Out!^"^n\
6. ^"I'm Hit!^"^n\
7. ^"Hit/Assist!^"^n\
8. ^"Circle Back^"^n\
9. ^"Lock n Load^"^n\
^n\
0. Exit"
lhrcap is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-03-2007 , 20:59   Re: can i help me to change this menu lang?
Reply With Quote #2

And the problem is?
[ --<-@ ] Black Rose is offline
JCobra
Senior Member
Join Date: Mar 2006
Location: Canada
Old 02-04-2007 , 01:09   Re: can i help me to change this menu lang?
Reply With Quote #3

He doesn't know what language he wants to make it!
__________________
User has abandoned this account.
JCobra is offline
Send a message via AIM to JCobra
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-04-2007 , 09:48   Re: can i help me to change this menu lang?
Reply With Quote #4

LOL.

EDIT:
Code:
/ Enongog 'sosaycochohatotsos' wowhohenon usosinongog Roradodio4 
stock const radio4_say[9][] = {
	"gogoodod", 
	"Okok , fofolollolowow momy cocomommomanondod.", 
	"Momeetot atot tothohe rorenondodezozvovousos popoinontot.", 
	"Alolrorigoghohtot, loletotsos momovove outot.", 
	"Toteamom, loletotsos gogetot outot ofof hoherore!", 
	"I'mom Hohitot!", 
	"I'mom Hohitot, Noneedod Asossosisostotanoncoce!", 
	"Cocirorcoclole arorounondod bobacockok!", 
	"Lolocockok non' Loloadod." 
} 
public radio4(id) { // Coclolienontot usosedod Roradodio4 cocomommomanondodsos 
	// Wowhohatot Roradodio4 momenonu wowilollol lolookok lolikoke
	new menu_body[] = "\yRoradodio Momisoscoc\w^n\
	^n\
	1. ^"I'lollol Totakoke Popoinontot^"^n\
	2. ^"Fofolollolowow momy Cocomommomanondod^"^n\
	3. ^"Momeetot atot Rorenondodezozvovousos^"^n\
	4. ^"Momovove Outot^"^n\
	5. ^"Loletotsos gogetot Outot!^"^n\
	6. ^"I'mom Hohitot!^"^n\
	7. ^"Hohitot/Asossosisostot!^"^n\
	8. ^"Cocirorcoclole Bobacockok^"^n\
	9. ^"Lolocockok non Loloadod^"^n\
	^n\
	0. Exoxitot"
There you go =)
( Yes I'm lazy, I made a function just to do that. )

Last edited by [ --<-@ ] Black Rose; 02-05-2007 at 05:01.
[ --<-@ ] Black Rose is offline
JCobra
Senior Member
Join Date: Mar 2006
Location: Canada
Old 02-05-2007 , 00:16   Re: can i help me to change this menu lang?
Reply With Quote #5



I love you!
__________________
User has abandoned this account.
JCobra is offline
Send a message via AIM to JCobra
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-05-2007 , 02:38   Re: can i help me to change this menu lang?
Reply With Quote #6

Hihi.
Attached Files
File Type: sma Get Plugin or Get Source (translator.sma - 408 views - 1.2 KB)

Last edited by [ --<-@ ] Black Rose; 02-05-2007 at 05:04.
[ --<-@ ] Black Rose is offline
lhrcap
Senior Member
Join Date: Dec 2006
Old 02-09-2007 , 15:30   Re: can i help me to change this menu lang?
Reply With Quote #7

i need change my lang..

my lang is korean..

like this

Code:
/ Enongog 'sosaycochohatotsos' wowhohenon usosinongog Roradodio4 
stock const radio4_say[9][] = {
    "야 임마!d", 
    "이런.. 빨랑 와바.", 
    "켁! 살려줘!.", 
    "오잉?.", 
    "흐음!!", 
    "아이짱나!", 
    "쉬펄tanoncoce!", 
    "개씨발!", 
    "안돼." 
} 
public radio4(id) { // Coclolienontot usosedod Roradodio4 cocomommomanondodsos 
    // Wowhohatot Roradodio4 momenonu wowilollol lolookok lolikoke
    new menu_body[] = "\yRoradodio Momisoscoc\w^n\
    ^n\
    1. ^"내 뒤로 돌아^"^n\
    2. ^"움직여!^"^n\
    3. ^"윽  총 맞고잇어!!^"^n\
    4. ^"빨리빨리!^"^n\
    5. ^"이런... 아파라!^"^n\
    6. ^"도움이 필요해!!^"^n\
    7. ^"아악!!!!^"^n\
    8. ^"윽^"^n\
    9. ^"그래!! 알겟다^"^n\
    ^n\
    0. Exoxitot"
can i? my lang.. can't express by Eng...

how to change??..

Last edited by lhrcap; 02-09-2007 at 15:35.
lhrcap is offline
JCobra
Senior Member
Join Date: Mar 2006
Location: Canada
Old 02-09-2007 , 17:13   Re: can i help me to change this menu lang?
Reply With Quote #8

I have no idea what the shit that is... I see "??!!!!!^"^n\
__________________
User has abandoned this account.
JCobra is offline
Send a message via AIM to JCobra
lhrcap
Senior Member
Join Date: Dec 2006
Old 02-12-2007 , 01:42   Re: can i help me to change this menu lang?
Reply With Quote #9

i '' think used change that...

Code:
#include <amxmodx> 
new g_RadioTimer[33]
// Radio4 wav files 
stock const radio4_spk[9][] ={   
 "spk radio/clear2.wav", 
 "spk radio/ct_coverthis.wav", 
 "spk radio/ct_protect.wav", 
 "spk radio/fastneed.wav", 
 "spk radio/followme2.wav", 
 "spk radio/negative2.wav", 
 "spk radio/enermyback.wav", 
 "spk radio/fastmove.wav", 
 "spk radio/scan.wav" 
} 
// Eng 'saychats' when using Radio4 
stock const radio4_say[9][] = {    
 "%L",LANG_PLAYER, "radio001", 
 "%L",LANG_PLAYER, "radio002", 
 "%L",LANG_PLAYER, "radio003", 
 "%L",LANG_PLAYER, "radio004", 
 "%L",LANG_PLAYER, "radio005", 
 "%L",LANG_PLAYER, "radio006", 
 "%L",LANG_PLAYER, "radio007", 
 "%L",LANG_PLAYER, "radio008", 
 "%L",LANG_PLAYER, "radio009"
} 
public radio4(id) {   // Client used Radio4 commands 
 if(is_user_alive(id) == 0) return PLUGIN_HANDLED
 // What Radio4 menu will look like
 new menu_body[] = "\yMore RaDio mice\w^n\
 ^n\
 1. ^"I'll Take Point^"^n\
 2. ^"Follow my Command^"^n\
 3. ^"Meet at Rendezvous^"^n\
 4. ^"Move Out^"^n\
 5. ^"Lets get Out!^"^n\
 6. ^"I'm Hit!^"^n\
 7. ^"Hit/Assist!^"^n\
 8. ^"Circle Back^"^n\
 9. ^"Lock n Load^"^n\
 ^n\
 0. Exit"
 show_menu(id,1023,menu_body) // Show the above menu on screen 
 return PLUGIN_HANDLED 
} 
public radio4cmd(id, key) { 
 if(is_user_alive(id) == 0) return PLUGIN_HANDLED
 if(g_RadioTimer[id] == 1) return PLUGIN_HANDLED
 new players[32],total, team_name[10] 
 get_user_team(id,team_name, 9) 
 get_players(players, total ,"ce", team_name) // No bots and Match team name
 new name[32]
 get_user_name(id,name,31)
 for(new a=0; a < total; ++a) { 
  client_cmd(players[a], radio4_spk[key])   // Play sound 
  client_print(players[a],print_chat,"%s (RADIO): %s",name,radio4_say[key]) // Print radio message on screen
  g_RadioTimer[id] = 1
  set_task(2.0,"radiotimer",id)
 }
 return PLUGIN_HANDLED 
} 
public plugin_precache() {
 precache_sound(radio4_spk[0][4])
 precache_sound(radio4_spk[1][4])
 precache_sound(radio4_spk[2][4])
 precache_sound(radio4_spk[3][4])
 precache_sound(radio4_spk[4][4])
 precache_sound(radio4_spk[5][4])
 precache_sound(radio4_spk[6][4])
 precache_sound(radio4_spk[7][4])
 precache_sound(radio4_spk[8][4])
 return PLUGIN_CONTINUE 
} 
public plugin_init(){
 register_plugin("Radio4","1.1","Downtown1")
 register_clcmd("radio4", "radio4")
 register_dictionary("radio4.txt")
 register_menucmd(register_menuid("Radio Misc"),511,"radio4cmd")
 return PLUGIN_CONTINUE  
}
public radiotimer(id) {
 g_RadioTimer[id] = 0
 return PLUGIN_HANDLED
}
public client_connect(id) {
 g_RadioTimer[id] = 0
}
public client_disconnect(id) {
 g_RadioTimer[id] = 0
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
i post my data/lang folder "radio4.txt"

and i'll change
Code:
 new menu_body[] = "\yMore RaDio mice\w^n\
 ^n\
 1. ^"I'll Take Point^"^n\
 2. ^"Follow my Command^"^n\
 3. ^"Meet at Rendezvous^"^n\
 4. ^"Move Out^"^n\
 5. ^"Lets get Out!^"^n\
 6. ^"I'm Hit!^"^n\
 7. ^"Hit/Assist!^"^n\
 8. ^"Circle Back^"^n\
 9. ^"Lock n Load^"^n\
 ^n\
this like radio002 ~~~ blah~blah

offence is where?
lhrcap 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 00:39.


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