[HELP] Problem with textdraws. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Problem with textdraws. (
/showthread.php?tid=320627)
[HELP] Problem with textdraws. -
Type-R - 23.02.2012
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:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_DOWN) && !(oldkeys & KEY_DOWN))
{
TextDrawHideForPlayer(playerid, Atsakymas110);
TextDrawShowForPlayer(playerid, Atsakymas11);
TextDrawShowForPlayer(playerid, Atsakymas120);
}
return 1;
}
Does anyone know what could be the problem?