13.07.2011, 13:07
__
But where is parameter playerid? When other player press .. I, the message("You are holding I") show to me too.
___
I think this work only for console xD
But where is parameter playerid? When other player press .. I, the message("You are holding I") show to me too.
___
I think this work only for console xD
pawn Код:
public OnFilterScriptInit(){
SetTimer("CheckKeys",100,1);
return 1;
}
forward CheckKeys();
public CheckKeys()
{
if(IsKeyDown(VK_ALT)) printf("You are holding ALT");
if(IsKeyDown(VK_CTRL)) printf("You are holding CTRL");
if(IsKeyDown(VK_I)) printf( "You are holding I");
}
