Forums Index >> Modding >> HotkeyScript - v.3.0
Page : <1> :
I havent tested, but your Server-side version wont work... It'll only work for YOU if you're using the "create" button, and only for you...
If you're using the "create" button
And what if you host dedicated? :S
---
Well... At least the client-side works...
Last edited: Sunday, May 07, 2006 at 8:24:27 AM
Dedicated wont work...
Cass you know I like you but this is as ^ says rather pointless. All you have done is taken the text from my website (which is also available all over PTT) and split it into sections and save them as cs files. There is no need for a server side hotkey function (eventhough this is not that) as players should decide on their own hotkeys. You have done no more than exec a few more scripts to run, when having less scripts running is better than more, besides that if you put all that hotkey text in the main.cs it does exactly the same thing.
^ I tried DLing the hotkeys from Daz's site, and they didn't work for me. In fact, TT wouldn't load with it in my main.cs. Don't know why, but the text reads as a straight long line, rather than in the regular paragraph-style. :S
^ thanks, Daz, I figured it out. First time I've used the PTT/Google search thingy. XD
Well, pedro, this takes absolutely no skill, dazz was the one after all who worked to make this.
If (!$server::dedicated) { // if the server you are in isnt dedicated-- important, just keep that
moveMap.bindCmd(keyboard, "1", "", "commandToServer('messageSent', *"Good One...!!*");");
}
Keyboard --- where the button lies, mouse could also work
1 --- what should the key button name be; if on mouse, mouse1 would be left click, mouse2 right, so on "f" would be the f key, and "shift" would be shift
"" --- leave that one blank, unnecessary to bother with
then, after that would be the function you'd call with that key, in this case, a commandtoserver, sending a message, and that message being Good One...!!
An important note, you must keep the infront of "quotes in the command to server, it is specifying that those "s arent marking the end of the move map.
Again, just copy and paste as many as you want into the main.cs
PS: there is a problem with these forums, so I cannot place back slashes in this text, but they should be placed where the *s are
As for you cas, this is really stupid. You made this sooo much more complex than it has to be.... Why do you need all those files they need only to place it in the main.cs
Pathetic.... :'(
Last edited: Saturday, May 20, 2006 at 9:08:28 AM
Page : <1> :
This lets you have talk-hotkeys. Example, if you press F1 you'll say 'Hello Fellow TT-ers!'
I know most ppl have them already, but though. For who wants them...
LinkyLinky
--
Install insctructions -> Read Me File
Comming Soon -> Comming Soon File
--
Also includes a list of what hotkey, says what. ;)