Raised This Month: $ Target: $400
 0% 

can i help me to change this menu lang?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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