28.07.2011, 12:38
Quote:
|
how to change the key "2" to another one so that when you press another specific key it will repair
|
Anyway, look at this: Key List
To make your own key, just use this code to see what key(s) you are pressing.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
new debugg[64];
format(debugg,sizeof(debugg),"Total Value of Key(s) Pressed %d", newkeys);
SendClientMessage(playerid, -1, debugg);
return true;
}
//Then you can use if newkeys == 128 or whatever..


