Raised This Month: $37 Target: $400
 9% 

amx_ to sm_


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nutu_
Senior Member
Join Date: Mar 2016
Location: Romania, Timisoara
Old 01-11-2019 , 11:06   amx_ to sm_
Reply With Quote #1

hi, is it possible to replace all amx_ commands to sm_ , i mean only to change prefix, i tried editing admincmd and it worked but with some errors and not they way i wanted, i used Oxi's CromChat for colored white chat and it worked but not for ban command, which i put it colored, so editing all admin commands is very hard, is it another possibility to replace all amx_ commands to sm_?
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
deprale
Member
Join Date: Oct 2018
Location: Leeds
Old 01-11-2019 , 19:18   Re: amx_ to sm_
Reply With Quote #2

Dude just open amxx.cfg located in addons/amxmodx/configs/
there is a line called default prefix "amx_"

EDIT: if there isn't such an option in amxmodx 1.9 then I'm completely mistaken and I'm sorry for misinforming you, either way, it is easily modifiable by opening the .sma files and just changing the amx_ syntax to sm_ and then just recompile it, not even hard.

THE QUESTION IS: WHY?

Last edited by deprale; 01-11-2019 at 19:20.
deprale is online now
Nutu_
Senior Member
Join Date: Mar 2016
Location: Romania, Timisoara
Old 01-11-2019 , 19:56   Re: amx_ to sm_
Reply With Quote #3

okej, there is no setting for it, 1.8.3.
why? im about to make a csgo mod cs1.6 but exactly like csgo, so i'd like to make admin commands as in cs go as well
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
[email protected]
Veteran Member
Join Date: May 2008
Location: France Marne
Old 01-12-2019 , 06:09   Re: amx_ to sm_
Reply With Quote #4

the point ?
amxmodx is amxmodx, sourcemod is sourcemod, it's 2 separated project.
Fr33m@n is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 01-12-2019 , 08:10   Re: amx_ to sm_
Reply With Quote #5

you will have to do it manually, just open all your sma files with notepad ++ and replace all amx_ to sm_, you can replace all with a click in each file, then compile all again
tarsisd2 is offline
Reply


Thread Tools
Display Modes

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 19:12.


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