[Ajuda] OnPlayerKeyStateChange
#1

Ai galera eu queria saber pq eu n to conseguindo deixar o comando so para admin,sempre que coloco pra so admin poder usar ele nгo funciona ( eu aperto o botгo e nгo acontece nada)

pawn Код:
if (PRESSED(KEY_SUBMISSION))
    {
        if(PlayerInfo[playerid][pAdmin] < 1)
        {
            SetPlayerHealth(playerid, 99999);
            SetPlayerArmour(playerid, 99999);
            SetPlayerSkin(playerid, 199);
        }
        else if (RELEASED(KEY_SUBMISSION))
        {
            SetPlayerHealth(playerid, 100);
            SetPlayerArmour(playerid, 100);
            SetPlayerSkin(playerid, 20);
        }
     }
Reply


Messages In This Thread
OnPlayerKeyStateChange - by UzumakiNaruto - 02.06.2014, 23:21
Re: OnPlayerKeyStateChange - by MultiKill - 02.06.2014, 23:26
Re: OnPlayerKeyStateChange - by UzumakiNaruto - 02.06.2014, 23:36
Re: OnPlayerKeyStateChange - by Smoking_Script - 03.06.2014, 00:49

Forum Jump:


Users browsing this thread: 1 Guest(s)