23.02.2012, 22:27
(
Последний раз редактировалось Type-R; 24.02.2012 в 01:03.
)
Hello, so what im trying to do, is that when you hit the KEY_DOWN, some textdraws would dissapear, ant then others would appear. But i when i hit the button and nothing happens. Here's the script:
Does anyone know what could be the problem?
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_DOWN) && !(oldkeys & KEY_DOWN))
{
TextDrawHideForPlayer(playerid, Atsakymas110);
TextDrawShowForPlayer(playerid, Atsakymas11);
TextDrawShowForPlayer(playerid, Atsakymas120);
}
return 1;
}