11.01.2011, 16:15
why wouldn't it when a player does press a button you can check if he does so with
but he'd need the keyid of R INSERT and F12
which he could get with(correct me if it's wrong didn't use pawn in a long time^^):
I'm not sure if these even exist...
pawn Код:
OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if (newkeys & KEY_FIRE)
{
}
}
which he could get with(correct me if it's wrong didn't use pawn in a long time^^):
pawn Код:
OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if(newkeys != 0)
{
new msg[10];
format(msg, 10, "%i", newkeys);
SendClientMessage(playerid, yourcolor,msg);
}
}