anyone who knows about amx mod and cfg files

New Member
Joined
Aug 5, 2003
Messages
62
Best answers
0
Im tryin to make a cfg file to use with amx_clexec plugin
(amx_clexec is made by OLO)

that will unbindall then bind keys to control another player
so i
bind "a" "exec mindcontrol.cfg"
in my config cfg
and i am wondering how i can get the userid of another player somehow cause i dont want to have to change it everytime. im gonna use eye to look from their view all i need to know how would u set a variable to their name
could i use alias "%userid%" "personname" and just type that in console in a game then press a to exec the cfg then should it work?? oh and correct my coding in a quote if i did anything wrong..
unbindall
eye %userid%
bind "TAB" "amx_clexec %userid% +showscores"
bind "ENTER" "amx_clexec %userid% +block"
bind "ESCAPE" "amx_clexec %userid% cancelselect"
bind "SPACE" "amx_clexec %userid% +jump"
bind "+" "amx_clexec %userid% sizeup"
bind "," "amx_clexec %userid% FFA"
bind "1" "amx_clexec %userid% slot1"
bind "2" "amx_clexec %userid% slot2"
bind "3" "amx_clexec %userid% slot3"
bind "4" "amx_clexec %userid% slot4"
bind "5" "amx_clexec %userid% slot5"
bind "6" "amx_clexec %userid% slot6"
bind "7" "amx_clexec %userid% slot7"
bind "8" "amx_clexec %userid% slot8"
bind "9" "amx_clexec %userid% slot9"
bind "`" "toggleconsole"
bind "b" "amx_clexec %userid% +use"
bind "c" "amx_clexec %userid% change_class"
bind "e" "amx_clexec %userid% +powerup"
bind "f" "amx_clexec %userid% togglefly"
bind "q" "amx_clexec %userid% +block"
bind "s" "amx_clexec %userid% +back"
bind "t" "amx_clexec %userid% turbo"
bind "u" "amx_clexec %userid% messagemode2"
bind "v" "amx_clexec %userid% change_team"
bind "w" "amx_clexec %userid% +forward"
bind "x" "amx_clexec %userid% descend"
bind "y" "amx_clexec %userid% messagemode"
bind "z" "amx_clexec %userid% ascend"
bind "~" "toggleconsole"
bind "UPARROW" "amx_clexec %userid% +forward"
bind "DOWNARROW" "amx_clexec %userid% +back"
bind "LEFTARROW" "amx_clexec %userid% +left"
bind "RIGHTARROW" "amx_clexec %userid% +right"
bind "ALT" "amx_clexec %userid% +strafe"
bind "CTRL" "amx_clexec %userid% teleport"
bind "SHIFT" "amx_clexec %userid% +moveup"
bind "F3" "amx_clexec %userid% credits"
bind "F4" "amx_clexec %userid% toggleview"
bind "F5" "amx_clexec %userid% snapshot"
bind "F6" "amx_clexec %userid% save quick"
bind "F7" "amx_clexec %userid% load quick"
bind "F8" "amx_clexec %userid% mp3player"
bind "F9" "scouter"
bind "F10" "quit prompt"
bind "PGUP" "amx_clexec %userid% +lookup"
bind "MWHEELDOWN" "amx_clexec %userid% invprev"
bind "MWHEELUP" "amx_clexec %userid% invnext"
bind "MOUSE1" "amx_clexec %userid% +attack"
bind "MOUSE2" "amx_clexec %userid% +attack2"
bind "MOUSE3" "amx_clexec %userid% teleport"
bind "PAUSE" "amx_clexec %userid% pause"
 
Senior Member
★ Black Lounger ★
✔️ HL Verified
💻 Oldtimer
Joined
Feb 17, 2003
Messages
1,483
Best answers
0
Ginve me the whole list of what you want it to do, and I will cerrate a bind for u.
 
New Member
Joined
Aug 5, 2003
Messages
62
Best answers
0
that is what i want to do i already have a plugin called amx_clexec it is plugin for amx that will exec any command on anyones console.. the commands are all there ill put em in a cfg i tried already but they dont seem to work if i use alias not sure why..
 
New Member
💻 Oldtimer
Joined
Sep 8, 2002
Messages
2,278
Best answers
0
Location
Earth
There are problems with your idea. First of all when you execute a + command on a user, the - equivalent isn't executed automatically.
 
Senior Member
★ Black Lounger ★
✔️ HL Verified
💻 Oldtimer
Joined
Feb 17, 2003
Messages
1,483
Best answers
0
Could you help me.
Whats eye?

Maby i could do this for you.
 
Active Member
🚂 Steam Linked
💻 Oldtimer
Joined
Nov 4, 2002
Messages
1,061
Best answers
0
could i use alias "%userid%" "personname" and just type that in console in a game then press a to exec the cfg then should it work?? oh and correct my coding in a quote if i did anything wrong..
This is something I would really like to know as well...
 
New Member
Joined
Aug 5, 2003
Messages
62
Best answers
0
mr satan since the +attack command would be binded to my mouse shouldnt -attack work when i unclick mouse i know what ur talkin about cause have tried it without a bind well i am gonna try on myself to see which commands work right i am sure that it is impossible to use alias with userid or anythin so i will probably program into the sma after i fix the actual console code cause theres a small script command to type somthin into console


eye is a plugin that lets you see out of their "eyes"/view in first person mode
 

Users who are viewing this thread

Top Bottom