samp.directory
← Skrypty i biblioteki

Foundation-PAWN/SAMP-LocalPlugin-backup

Backup of SAMP-LocalPlugin by Naseband

Biblioteka★ 2zaktualizowano mar 2025Brak licencjiPawn
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

README.md

SAMP-LocalPlugin

Gives access to all keys. Only works for the LOCAL machine (the PC the server is running on). Only for debug purposes/Map Editors (etc).

Note: WINDOWS only!

Natives:

IsLocalKeyPressed(key)
	Checks if a key ID is currently pressed.

IsSAMPFocused()
	Checks if the SAMP client is the foreground application (by window name).

GetVKName(key, const name[], maxlen = sizeof name)
	Gets the complete name of a key.

ToggleKey(key, toggle = 1)
	Toggles the given key for OnLocalKeyStateChange only. 
	All keys are off by default!

IsKeyToggled(key)
	Checks if a key is toggled.

Callbacks:

OnLocalKeyStateChange(key, newstate)
	Gets called whenever a keystate has changed (newstate will be 0 or 1).

Keys:

All compatible keys and their definitions can be found in the include file.

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

Foundation-PAWN/SAMP-LocalPlugin-backup: Biblioteka SA-MP | samp.directory