07.09.2009, 17:11
From the wiki:
I don't recieve any message. I don't know if this is a 0.3 bug, but i use this script in 0.3. What's the problem?
Код:
public OneSecondTimer() { new keys, updown, leftright; for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { if(IsPlayerConnected(playerid)) { GetPlayerKeys(playerid, keys, updown, leftright); if(updown == KEY_UP) { SendClientMessage(playerid, 0xFF0000AA, "Up key pressed!"); } } } }