Someone knows this?

Hey does someone knows the key number of the "switch" key between ur left-and right mousebuttom?

Im not sure what you mean by switch, the middle mouse buttin is "KEY_LOOK_BEHIND" (by default) i think.

That's the right button, but it only works if someone press it. Not when he switches to another weapon. How to do this? Thanks for your reply anyway.

Use this to get the value of any keys you need.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    format(str, 64,"Pressed Key Value: %d", newkeys);
    SendClientMessage(playerid, -1, str);
    return 1;

And what if it doesn't gives a message? it means the key doesn't exists? Is there anyway to make it?
I need the numbers of the buttoms "Q" and "E" and the middle mouse buttom..

I'm guessing it means they don't exist (or not being watched) because that message will be displayed whenever a new key is pressed.

Hmm bad is there anyway to "make" them?

This function will give you a few more key options, however its not a callback, so you have to put it in a loop to get the information

I do not think the keys you are trying to detect have a value in either of the above methods.

Hmm can u explain it some more? And is there really no button for "Next_Weapon"?

what you want ?? go in sa-mp wikki and search your Problem!

Forum Jump:

Users browsing this thread: 1 Guest(s)