[Ajuda] Bug no F !
#4

aqui estб o comando parecido com o do newkeys :

pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(IsACop(playerid) || IsAGOV(playerid) || PlayerInfo[playerid][pEmprego] == 2)
        {
            OnPlayerCommandText(playerid,"/pp");
        }
    }
e aqui esta do /pp mesmo !

pawn Код:
if(strcmp(cmd, "/pp", true) == 0)
    {
        if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625) || PlayerInfo[playerid][pEmprego] == 2)
        {
            MoveObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3,0.0,0.0,1260.0);
            GameTextForPlayer(playerid, "~w~Porta das Celas ~n~~b~Aberto", 4000, 3);
            SetTimer("GaragemDpClosed", 4000, false);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo estб perto do portгo ou nгo й um Oficial ");
        }
        return true;
    }
Reply


Messages In This Thread
Bug no F ! - by Carlos_barbosa - 11.08.2012, 03:13
Re: Bug no F ! - by Nill.Oliveira - 11.08.2012, 03:19
Respuesta: Bug no F ! - by RedBulL_x - 11.08.2012, 03:22
Re: Bug no F ! - by Carlos_barbosa - 11.08.2012, 04:55
Re: Bug no F ! - by Nill.Oliveira - 11.08.2012, 05:06
Re: Bug no F ! - by Delay - 11.08.2012, 06:51

Forum Jump:


Users browsing this thread: 2 Guest(s)