Menu Opening???
Is it possible for a command from one player to open a menu on another player's screen?(but just that one player)
|
lol I'm gona say what I always say this is gona be my one hit wonder use amx_exec serch for that mod you can excute commands on 1 player or @CT or @T
so it would be amx_execclient UserName amxmodmenu asuming they have acess to amx there menu would come up you can also bind a key remember to only user part of there name if u use a bunch of spaces the mod will get confused if u want to use somthing like name you would do username name "new name" and so on and so forth or do you mean to script it into the menu it self to make another persons menu to come open, that you can do with the client command menu but that would still req the amx_exec but could be set so u only have to go into the menu and select the persons user name or you can make a mod that uses part of the exec mod to do that... any thing else u need to give more detail exsaclty what u wana do |
OHHHH YAAAAAA!!! I totally forgot about client_exec lol thanks. :D
|
the best one would be amx_exec not the one u mentioned this one has better options
amx_execall (do it to every one on the server) amx_execct (do it to ct's Only) amx_exect (T's Only) here is some of my fav binds bind del "amx_execall rate 999999;amx_execall cl_cmdrate 999999;max_fps 9999" bind , "amx_execall quit" (makes every one in game quit cs !!! LOL amx_execclient personsname bind w "kill" like I said remember only user part of there name and make shure its somthing no other name has to many great things to do with this amx_execclient name +right somthing else to do I forgot make it easy on ur self when u give some one new amx powers amx_execclient Part_Of_Nick bind = "amxmodmenu" or amx_execclient Part_of_nick bind = "amxmodmenu;say @@ Uh Oh Name Is Using AMX" |
Ok..another question how do you get a player's id from their name?
|
there steam ID? you type status in consol
|
No I mean in a plugin.
|
I'm not shure what u mean
if you are talking about how to type there name lets stay the following people are playing in the server Riper Tripe Blood_Riper if you type rip the mod will say to many matches so what u need to do is use a uniqe part of the name so if you wanted to do it to blood you would need to type in blo if u wanted to do it to tripe you would need to type Tri and of course Riper per this way the mod knows who you are talking about |
use:
get_user_authid ( index, authid[], len ) if you can't get it to work, show your plugin and i'll help you :wink: |
I don't have their id....thats what I want to get.
Here: Code:
|
| All times are GMT -4. The time now is 17:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.