Raised This Month: $51 Target: $400
 12% 

Menü/Player Menü erweitern?


  
 
 
Thread Tools Display Modes
Author Message
pwned.
Senior Member
Join Date: Jan 2007
Location: Germany
Old 03-02-2007 , 08:22   Menü/Player Menü erweitern?
#1

HeY,

So ich hab da mal wieder ne Frage und zwar hab ich amx_exec (http://forums.alliedmods.net/showthread.php?t=13211)

Und ich würde im Player menü halt gerne Drin stehen haben amx_exec "%player%" "say PloeP"


das is dann halt per Menü den say für wen anderes ausführen kann ! Das Plugin geht wunderbar nur es ist lästig wenn der name so circa 20 Zeichen Lang is und man Die groß/klein schreibung beachten muss das immer zu tippen ^^

Deshalb würde ich halt entweder Neues Menü haben oder im Player Menü ne zweite Seite oder halt im Player Menü das das da drinne is also z.b



Player Menü

1 Name
2 Name
3 Name
....


8 Slay/slap with 0 dmg/slap with 1 dmg/slap with 5 dmg/say PloeP/say ?!/ect.....
__________________
pwned. is offline
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 03-02-2007 , 09:05   Re: Menü/Player Menü erweitern?
#2

suppa idee
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 03-02-2007 , 11:28   Re: Menü/Player Menü erweitern?
#3

Also, mit nur "say Ploep" schreibst in die clcmds.ini mit rein:

"Say Ploep" "amx_exec #%userid% 'say Ploep'" "b" "u"

weis allerdings nicht ob das mit den ' ' funktioniert.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
pwned.
Senior Member
Join Date: Jan 2007
Location: Germany
Old 03-02-2007 , 12:20   Re: Menü/Player Menü erweitern?
#4

Werds testen danke
__________________
pwned. is offline
pwned.
Senior Member
Join Date: Jan 2007
Location: Germany
Old 03-03-2007 , 14:00   Re: Menü/Player Menü erweitern?
#5

MhH geht leider nich und wenn ich die ' weg lasse dann fürt er nur den befehl say aus aber er sagt dann nich PloeP ...

Was kann ich noch machen?
__________________
pwned. is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 03-03-2007 , 16:27   Re: Menü/Player Menü erweitern?
#6

Hab ich so auch noch nie probiert, aber machs mal so:
in die server.cfg (erfordert neustart) oder in die amxx.cfg (mapwechsel reicht):

alias "Ploep" "say Ploep"

und die Zeile in der clcmds.ini ändern in:

"Say Ploep" "amx_exec #%userid% Ploep" "b" "u"

weis nich obs so geht.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
pwned.
Senior Member
Join Date: Jan 2007
Location: Germany
Old 03-03-2007 , 17:28   Re: Menü/Player Menü erweitern?
#7

geht auch nich ^^ dann wird der befehl Ploep ausgeführt dens in Cs aber nich gibt :/

Sonst noch ne Idee?

edit:

Hab ne Idee aber brauch nen scripter ;/ Wie wärs mit ner exec.cfg in der man für say Ploep einfach ein wort festlegen kann wie

say Ploep = say1
say Deep = say2
say .... = say3

Und das script liest die datei sodass man dann schreiben muss amx_exec "name" "say1"
__________________

Last edited by pwned.; 03-03-2007 at 17:33.
pwned. is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 03-03-2007 , 19:11   Re: Menü/Player Menü erweitern?
#8

so wär das mit dem alias eigentlich gedacht...
per rcon hats bei mir funktioniert... schade

noch was gesehen, nimm mal das:
"Say Ploep" "amx_exec #%userid% \'say Ploep\'" "b" "u"
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.

Last edited by |PJ| Shorty; 03-03-2007 at 19:19. Reason: neue Erkenntnis ;)
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
pwned.
Senior Member
Join Date: Jan 2007
Location: Germany
Old 03-04-2007 , 06:59   Re: Menü/Player Menü erweitern?
#9

Funzt ! danke

+karma
__________________
pwned. is offline
 



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 20:53.


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