Pressing Key
#5

pawn Код:
if (PRESSED(KEY_SECONDARY_ATTACK))
    {
        if(IsPlayerInRangeOfPoint(playerid,1.0, 286.58, -109.37, 1001.56))
        {
            TogglePlayerControllable(playerid,0);
            SendClientMessage(playerid, COLOR_GREEN, "MP5 $7000");
            ApplyAnimation(playerid,"INT_SHOP","shop_lookB",4.1,1,1,1,1,1,1);

            TextDrawShowForPlayer(playerid, Text:Textdraw0);
            TextDrawShowForPlayer(playerid, Text:Textdraw11);
            TextDrawShowForPlayer(playerid, Text:Textdraw2);
            TextDrawShowForPlayer(playerid, Text:Textdraw3);
            TextDrawShowForPlayer(playerid, Text:Textdraw15);
            TextDrawShowForPlayer(playerid, Text:Textdraw5);
            TextDrawShowForPlayer(playerid, Text:Textdraw6);
            TextDrawShowForPlayer(playerid, Text:Textdraw7);
            TextDrawShowForPlayer(playerid, Text:Textdraw8);
        }
    }
    if (PRESSED(KEY_CROUCH)) // <<<<< This is not working
    {
        TogglePlayerControllable(playerid,1);
        TextDrawHideForPlayer(playerid, Text:Textdraw0);
        TextDrawHideForPlayer(playerid, Text:Textdraw11);
        TextDrawHideForPlayer(playerid, Text:Textdraw2);
        TextDrawHideForPlayer(playerid, Text:Textdraw3);
        TextDrawHideForPlayer(playerid, Text:Textdraw15);
        TextDrawHideForPlayer(playerid, Text:Textdraw5);
        TextDrawHideForPlayer(playerid, Text:Textdraw6);
        TextDrawHideForPlayer(playerid, Text:Textdraw7);
        TextDrawHideForPlayer(playerid, Text:Textdraw8);
    }
This?
Reply


Messages In This Thread
Pressing Key - by MechaTech - 21.09.2012, 05:29
Re: Pressing Key - by [HiC]TheKiller - 21.09.2012, 05:34
Re: Pressing Key - by C00K13M0N$73R - 21.09.2012, 05:34
Re: Pressing Key - by MechaTech - 21.09.2012, 05:46
Re: Pressing Key - by clarencecuzz - 21.09.2012, 06:22

Forum Jump:


Users browsing this thread: 1 Guest(s)