16.12.2013, 21:33
Quick and simple idea.
I thought of a simple app, that just displays some buttons without specific functions.
The app connects to a plugin on a samp server, somehow authenticated and linked to a playerid, and the buttons send a specific value to the server, just like the GetPlayerKeys. The plugin would then call a callback just like OnPlayerKeyStateChange, and the server could use them however it likes. You might also bind commands to the app buttons, if the server allows that, so it could also act as keybinder. So this would be some sort of keyboard expansion, that helps going beyond the normal samp keys.
Thinking even further, it could also be used to display some information, configured by the server. Offscreen TextDraws if you like to call it like that.
I didnt write a single line of code for that, its just an idea that came to my mind today.
What do you think? Would it be worth creating it?
I thought of a simple app, that just displays some buttons without specific functions.
The app connects to a plugin on a samp server, somehow authenticated and linked to a playerid, and the buttons send a specific value to the server, just like the GetPlayerKeys. The plugin would then call a callback just like OnPlayerKeyStateChange, and the server could use them however it likes. You might also bind commands to the app buttons, if the server allows that, so it could also act as keybinder. So this would be some sort of keyboard expansion, that helps going beyond the normal samp keys.
Thinking even further, it could also be used to display some information, configured by the server. Offscreen TextDraws if you like to call it like that.
I didnt write a single line of code for that, its just an idea that came to my mind today.
What do you think? Would it be worth creating it?