#1

Can i somehow detect if player presses key R??
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Reply
#3

Rly -_-. I am asking how to detect key that is not in SAMP. Not how to make this
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if (
PRESSED(KEY_FIRE))
    {
        if (
IsPlayerInAnyVehicle(playerid))
        {
            
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
        }
    }
    return 
1;

Reply
#4

Don't think its possible.

https://sampwiki.blast.hk/wiki/Keys
Reply
#5

Its possible , use Sasino97 plugin : https://sampforum.blast.hk/showthread.php?tid=268671
Reply
#6

Without forcing people to download file(s), it is not possible.

Quote:
Originally Posted by Rockefeller
Посмотреть сообщение
Its possible , use Sasino97 plugin : https://sampforum.blast.hk/showthread.php?tid=268671
This thread was locked for a reason and its name is misleading. There's a warning with big red letters at the top of the first post:
Quote:

This is a SERVER-ONLY key detection plugin. it detects only if the keys are pressed on the SERVER and not clients. This will NOT detect keypresses from people's games.
Reply
#7

Wait wouldn't it be possible if u sendadminmessage?
Reply
#8

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
Wait wouldn't it be possible if u sendadminmessage?
I got a question for you,
What the hell do you smoke?
Reply
#9

Quote:
Originally Posted by Meller
Посмотреть сообщение
I got a question for you,
What the hell do you smoke?
I just ask a question,a yes or no with of been easier dont ya think?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)