Raised This Month: $ Target: $400
 0% 

From "uaio_" to "amx_"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 12-06-2006 , 20:47   From "uaio_" to "amx_"
Reply With Quote #1

Is there something I can change in the UAIO plugin that would change commands from looking like this:
Code:
uaio_sm_nades  <player> <seconds> (OFF=0 Seconds)
uaio_ammo  <player> <seconds> (OFF=0 Seconds)
uaio_eye  <player> <seconds> (OFF=0 Seconds)
uaio_bcash  <player> <seconds> (OFF=0 Seconds)
uaio_icash  <player> <seconds> (OFF=0 Seconds)
uaio_mirror  <player> <seconds> (OFF=0 Seconds)
uaio_trueap  <player> <seconds> (OFF=0 Seconds)
uaio_diver  <player> <seconds> (OFF=0 Seconds)
uaio_shades  <player> <seconds> (OFF=0 Seconds)
uaio_seer  <player> <seconds> (OFF=0 Seconds)
To this:
Code:
amx_sm_nades  <player> <seconds> (OFF=0 Seconds)
amx_ammo  <player> <seconds> (OFF=0 Seconds)
amx_eye  <player> <seconds> (OFF=0 Seconds)
amx_bcash  <player> <seconds> (OFF=0 Seconds)
amx_icash  <player> <seconds> (OFF=0 Seconds)
amx_mirror  <player> <seconds> (OFF=0 Seconds)
amx_trueap  <player> <seconds> (OFF=0 Seconds)
amx_diver  <player> <seconds> (OFF=0 Seconds)
amx_shades  <player> <seconds> (OFF=0 Seconds)
amx_seer  <player> <seconds> (OFF=0 Seconds)
??
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
|POW|Da_ghost
Senior Member
Join Date: Nov 2006
Location: http://snarkcafe.net
Old 12-07-2006 , 12:03   Re: From "uaio_" to "amx_"
Reply With Quote #2

You could edit the .sma .
__________________
If you want me to help you with something please contact me on msn or xfire(Daghost1337)
|POW|Da_ghost is offline
Send a message via AIM to |POW|Da_ghost Send a message via MSN to |POW|Da_ghost
StevnJ9971
Senior Member
Join Date: Sep 2006
Location: California
Old 12-07-2006 , 20:30   Re: From "uaio_" to "amx_"
Reply With Quote #3

I know, but I dont' code, so I dont' know what to change.
__________________
[IMG]http://img208.**************/img208/1706/userbar262772da7.gif[/IMG]
StevnJ9971 is offline
Send a message via AIM to StevnJ9971
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-07-2006 , 21:18   Re: From "uaio_" to "amx_"
Reply With Quote #4

find in your globals.inc in the uaio_inc folder and find
Code:
// Console Commands
new g_szVCmdConsole[MAX_V_COMMANDS][] =
{
    "uaio_v_map",     "uaio_v_grav",    "uaio_v_ff",      "uaio_v_c4timer",
    "uaio_v_rr",      "uaio_v_alltalk", "uaio_v_kick",    "uaio_v_slap",
    "uaio_v_slay",    "uaio_v_glow",    "uaio_v_gag",     "uaio_v_arena"
}
new g_szGCmdConsole[MAX_G_COMMANDS][] =
{
    "uaio_god", "uaio_grav",  "uaio_noclip", "uaio_turbo",  "uaio_silent", "uaio_invis",
    "uaio_spy", "uaio_he_nades", "uaio_fb_nades", "uaio_sm_nades", "uaio_ammo", "uaio_eye",
    "uaio_bcash", "uaio_icash", "uaio_mirror", "uaio_trueap", "uaio_diver", "uaio_shades",
    "uaio_seer"
}
new g_szECmdConsole[MAX_E_COMMANDS][] =
{
    "uaio_ban_p", "uaio_ban_t", "uaio_kick",   "uaio_slap", "uaio_bslap", "uaio_slay", 
    "uaio_bury", "uaio_gag",   "uaio_warn",  "uaio_blanks", "uaio_fire", "uaio_poison", 
    "uaio_rocket", "uaio_strip", "uaio_blackout", "uaio_shake", "uaio_namelock",
    "uaio_nobuy", "uaio_ptrails", "uaio_gtrails", "uaio_tracers", "uaio_drugs",
    "uaio_crazych"
}
new g_szMCmdConsole[MAX_M_COMMANDS][] =
{
    "uaio_map", "uaio_health", "uaio_armor", "uaio_cash", "uaio_team", "uaio_model",
    "uaio_frags", "uaio_deaths", "uaio_weapon",  "uaio_recruit", "uaio_stack", "uaio_glow",
    "uaio_cexec", "uaio_sexec", "uaio_revive" , "uaio_arena" , "uaio_motd"
}
and edit all the uaio_ to amx_

edit: because i'm so nice and with Notepad++ i can do it very easily, here you go.
Code:
// Console Commands
new g_szVCmdConsole[MAX_V_COMMANDS][] =
{
    "amx_v_map",     "amx_v_grav",    "amx_v_ff",      "amx_v_c4timer",
    "amx_v_rr",      "amx_v_alltalk", "amx_v_kick",    "amx_v_slap",
    "amx_v_slay",    "amx_v_glow",    "amx_v_gag",     "amx_v_arena"
}
new g_szGCmdConsole[MAX_G_COMMANDS][] =
{
    "amx_god", "amx_grav",  "amx_noclip", "amx_turbo",  "amx_silent", "amx_invis",
    "amx_spy", "amx_he_nades", "amx_fb_nades", "amx_sm_nades", "amx_ammo", "amx_eye",
    "amx_bcash", "amx_icash", "amx_mirror", "amx_trueap", "amx_diver", "amx_shades",
    "amx_seer"
}
new g_szECmdConsole[MAX_E_COMMANDS][] =
{
    "amx_ban_p", "amx_ban_t", "amx_kick",   "amx_slap", "amx_bslap", "amx_slay", 
    "amx_bury", "amx_gag",   "amx_warn",  "amx_blanks", "amx_fire", "amx_poison", 
    "amx_rocket", "amx_strip", "amx_blackout", "amx_shake", "amx_namelock",
    "amx_nobuy", "amx_ptrails", "amx_gtrails", "amx_tracers", "amx_drugs",
    "amx_crazych"
}
new g_szMCmdConsole[MAX_M_COMMANDS][] =
{
    "amx_map", "amx_health", "amx_armor", "amx_cash", "amx_team", "amx_model",
    "amx_frags", "amx_deaths", "amx_weapon",  "amx_recruit", "amx_stack", "amx_glow",
    "amx_cexec", "amx_sexec", "amx_revive" , "amx_arena" , "amx_motd"
}
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
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 06:15.


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