[T1] Help i'd like a script

E v i l
12-22-2003, 12:14 AM
Is there a script that will bind a voicepack to a player in my player select.
Ex. Player a will say "hello"
Player b will say "sup motha fucka!"
all when i change players via the player select. If there isn't a script will someone please tell me how to go about making one.

Xeri0us
12-22-2003, 12:43 AM
Hello there member E v i l, you still havent given me your irc alias so I can send you the demo. I'm still waiting.

E v i l
12-22-2003, 01:00 AM
demo ? of what :o and its the same as my name :)

vortex
12-22-2003, 03:30 AM
Do you mean when you change players, you want them to say different things in-game but frolm the same key? If so, where it says "Custom Script" at the bottom of the info section on your player select screen, just put chat.cs or whatever your voice pack *.cs is called. Then you just copy the chat.cs and rename it to whatever you want it to be for the next player, and edit the chat inside. If you are talking about something else, tell me :\

E v i l
12-22-2003, 11:00 AM
wow i feel like an idiot now cool........ lol Thanks alot vortex :) it works.

GreyHound
12-22-2003, 11:07 AM
yeah, as vortex said ....

another solution should be....


if ($PCFG::Name == "What you like") {
exec("what_you_like_chat.cs")
} elseif ($PCFG::Name == "another_what_u_like") {
exec("another_what_you_like_cha t.cs")
} else {
exec("chat.cs")
};


No idea if this works but the basics should work like that
... (i m not sure about the variable $PCFG::Name)

E v i l
12-22-2003, 01:57 PM
yea thats more what i was looking for but the other works to thanks for the help.