Skip to content

Client-server plugin to track the pressing of any key.

License

Notifications You must be signed in to change notification settings

CyberMor/keylistener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeyListener

Using


To get started, connect the header file.

#include <KeyListener>

Simple example

public void:OnPlayerKeyDown(player, key)
{
	new buffer[64];
	format(buffer, sizeof(buffer), "KeyDown: %d", key);
	SendClientMessage(player, -1, buffer);
}
public void:OnPlayerKeyUp(player, key)
{
	new buffer[64];
	format(buffer, sizeof(buffer), "KeyUp: %d", key);
	SendClientMessage(player, -1, buffer);
}

About

Client-server plugin to track the pressing of any key.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages