Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Foundation-PAWN/SAMP-LocalPlugin-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

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.

About

Backup of SAMP-LocalPlugin by Naseband

Resources

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /