Hmm it says to copy .ini file from folder but there is no .ini file
As wash said.
There's an .ini file called: SAMP.
Copy it to your hardrive C:
You can't place it elsewhere, otherwise it will not work.
Infor next version I might improve it and add an easy way to define targets and so on. If I can.
EDIT: Now you have 3 seconds to release the buttons, this means you wont have to be quick as an elit cs player when releasing buttons. This also gives the code time to check if you pressed the buttons.
Now beginning work on Status checker (If radio is online or offline).
EDIT2: The status checker is partially working I think, however I have no means to test it since the radio is currently on, and therefor I can not check if it recnogizes the word "Disabled" in the server.
Quick rundown: It checks if the webpage contains the word Disabled, if it does displays red text saying "Radio is offline" and if it does not find the word Disabled, it displays a green text saying "Radio is online".
Will test the server status when the radio goes offline.
As for other bug fixes:
You are given 3 seconds when pressing buttons, wich means you can hold the buttons for 2 seconds without it spamming the codes. This should give you enough time to release the buttons, and enough time for the code to open the Argonath radio.
In short terms, no more having to be uber mega quick on pressing buttons.
However, at the loss of this, it takes about 1-3 seconds before it closes connection with the radio, but that's liveable. Considering that it does not insta active the off command or vice versa when pressing buttons.
When I get the status checker to work, I will clean up the mess, make it proper and then release it as Version 1.1
If it works well, I will expand on it to allow customizeable buttons (your own hotkeys!)
I will also make it even easier to store the sa-mp.exe path, wich means. No more need to go into the SAMP.ini. Hurray for being lazy.
To be honest with you, I don't like lying. But this program is uber easy made. Yes, anyone can make it if they have basic knowledge of Visual basic 2008 and some google searching skills. Also, at the moment it does not actually close connection, instead when it "stops" the argonath radio, it goes to
www.google.com to make it sound like it stopped.
Hate google? No worries, I will try to remove this and make a better way for it when I get to/know how.
News: Version 1.1 released.
As usual, report bugs in PM, feedback is welcome on topic instead.
