08.01.2011, 15:22
I have problem with this:
The KEY_RIGHT is on right mouse click instead on keyboard and I can't find KEY_LEFT.
Quote:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (PRESSED(KEY_LEFT)) { SendClientMessage(playerid, COLOR_RED, "SEX!"); } if (PRESSED(KEY_RIGHT)) { SendClientMessage(playerid, COLOR_RED, "WTFOMGBBQ"); } return 1; } |