23.01.2010, 20:13
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_JUMP) && !(oldkeys & KEY_JUMP))
{
if (IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_RED, "Message One");
}
}
return 1;
}
But it sends that message if i press "S" aswell,
Why?