Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 17:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SAMP Keybinder

Discussion on SAMP Keybinder within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1

 
Alborzar's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 645
Received Thanks: 94
Question SAMP Keybinder

Hallo

ich wollte in C++ einen Keybinder für SAMP erstellen, weiss jedoch nicht genau wie ich eine 'Abfrage' erstelle dass wenn man eine bestimmte Taste drückt, dass etwas passiert.

Wäre nett wenn jemand mir das zeigen könnte.

Mit freundlichen Grüßen,
_ArtaX
Alborzar is offline  
Old 05/18/2017, 09:48   #2
 
atom0s's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 175
Received Thanks: 125
Depends on how you want to handle the key presses. Do you just want it to handle whenever a key is pressed in general or do you want it to block the key from happening in game as well?

If you just want to use the keybind whenever, just use something like GetAsyncKeyState to query for key presses.


If you want to block the key from hitting the game as well, then you are going to need to hook DirectInput, or whichever input handling API the game uses.
atom0s is offline  
Reply

Tags
c++, keybinder, samp


Similar Threads Similar Threads
Suche einen Overlay-Keybinder für SAMP!
06/12/2013 - Grand Theft Auto - 3 Replies
Hallo liebe Community, ich bin auf der Suche nach einem Keybinder für SAMP der einen Anrufbeantworter beinhaltet, Mordmeldungen ausliest und dementsprechend darauf antwortet. Ich hoffe ihr könnt mir irgendwie helfen. MfG Madmason
[Suche] SAMP Keybinder mit "Anrufbeantworter"
05/23/2013 - Grand Theft Auto - 2 Replies
Hallo Community! Ich Suche einen Keybinder mit einen "Anrufbeantworter", hab schon viele auf meinen Server damit gesehen. Sieht ungefähr so aus: xAcTiiVeHD's Handy klingelt. xAcTiiVeHD's Handy klingelt. xAcTiiVeHD nimmt den Anruf an.
[SELFMADE] SAMP Keybinder
11/04/2012 - Grand Theft Auto - 13 Replies
Wusste gerade nicht was ich machen sollte.. Da dachte ich mir ich schreibe einen SAMP Keybinder :-) Hier ein Screenshot: http://www.bilder-upload.eu/thumb/2491b2-13419500 38.png Wenn ihr Bugs oder ähnliches findet schreibt sie im Thread. PS: Könnt auch wünsche für ein Update schreiben. Und schreibt bitte keine Kommentare wie: ''Öhh ist doch sau leicht'' es war mein Erstes Programm was ich in VB geschrieben habe !
[ahk] [SAMP]Gang Keybinder
10/09/2012 - Coding Releases - 4 Replies
Gang-Keybinder Script von lace - Pastebin.com Viel spaß, wers gebrauchen kann.
[S]uche Keybinder für SamP
06/05/2012 - Grand Theft Auto - 1 Replies
Ich suche einen Keybinder für GTA San Andreas. Er soll folgendes können: So lange Angeln bist die Taschen voll ist & bestimmte Fische, also gefährdete oder kleine automatisch wegwerfen.



All times are GMT +1. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.