Raised This Month: $ Target: $400
 0% 

Menu Opening???


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-05-2004 , 02:37   Menu Opening???
Reply With Quote #1

Is it possible for a command from one player to open a menu on another player's screen?(but just that one player)
__________________
twistedeuphoria is offline
kalel
Senior Member
Join Date: Aug 2004
Old 09-05-2004 , 02:50  
Reply With Quote #2

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
kalel is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-05-2004 , 02:52  
Reply With Quote #3

OHHHH YAAAAAA!!! I totally forgot about client_exec lol thanks.
__________________
twistedeuphoria is offline
kalel
Senior Member
Join Date: Aug 2004
Old 09-05-2004 , 02:56  
Reply With Quote #4

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"
kalel is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-05-2004 , 03:19  
Reply With Quote #5

Ok..another question how do you get a player's id from their name?
__________________
twistedeuphoria is offline
kalel
Senior Member
Join Date: Aug 2004
Old 09-05-2004 , 03:21  
Reply With Quote #6

there steam ID? you type status in consol
kalel is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-05-2004 , 15:56  
Reply With Quote #7

No I mean in a plugin.
__________________
twistedeuphoria is offline
kalel
Senior Member
Join Date: Aug 2004
Old 09-05-2004 , 16:06  
Reply With Quote #8

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
kalel is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 09-05-2004 , 16:20  
Reply With Quote #9

use:

get_user_authid ( index, authid[], len )

if you can't get it to work, show your plugin and i'll help you
FeuerSturm is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-05-2004 , 19:14  
Reply With Quote #10

I don't have their id....thats what I want to get.
Here:
Code:
public say_event(id) {     new said[50]     new target[50]     new name[32]     read_argv(1,said,49)     read_argv(2,target,49)     get_user_name(id,name,31)     if(containi(said,"/challenge") != -1)     {         if (is_user_alive(id))         {             new tgtid = str_to_num(target)             disp_answermenu(tgtid)              }     } }
Is that right? Or how do I do this?
__________________
twistedeuphoria is offline
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 17:21.


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