13.04.2011, 23:50
Well, I want to make that, when player press KEY_CROUCH it'll activate freeze for random player, for 10 seconds.
I done this to check if OnPlayerKeySateChange works, it works, now how I make it as I wanted up there ^:
Thank you!
I done this to check if OnPlayerKeySateChange works, it works, now how I make it as I wanted up there ^:
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_CROUCH) { SendClientMessage(playerid,0xFFFFFFFF, "WORKING"); } return 1; }