Raised This Month: $ Target: $400
 0% 

can i change lang? this plugins?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lhrcap
Senior Member
Join Date: Dec 2006
Old 02-01-2007 , 04:44   can i change lang? this plugins?
#1

/* 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 change my lang

"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."


it possible?
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 01:32.


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