[Ajuda] Funзгo invalida ou declaraзгo
#8

Quote:
Originally Posted by ZaturN
Посмотреть сообщение
Guiih
Nгo funcionou.
Amigo, vocк adicionou em qual public, se adicionou na public "OnPlayerKeyStateChange" e nгo funcionou , ok! Teste esse aqui entгo:


pawn Код:
if(newkeys & KEY_CROUCH)
{

    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
    {

        if(CameraLigada[playerid] == 0)
        {

            GameTextForPlayer(playerid, "~w~camera~g~ ligada", 5000, 6);
            AttachCameraToObject(playerid, ObjetoPlayer[playerid]);
            CameraLigada[playerid] = 1;
        }
        else
        {

            GameTextForPlayer(playerid, "~w~camera~r~ desligada", 5000, 6);
            SetCameraBehindPlayer(playerid);
            CameraLigada[playerid] = 0;
        }
    }

    return 1;
}
Reply


Messages In This Thread
Funзгo invalida ou declaraзгo - by ZaturN - 01.05.2014, 01:40
Re: Funзгo invalida ou declaraзгo - by ViniBorn - 01.05.2014, 01:42
Re: Funзгo invalida ou declaraзгo - by GuiihCamargo - 01.05.2014, 01:59
Re: Funзгo invalida ou declaraзгo - by ZaturN - 01.05.2014, 02:02
Re: Funзгo invalida ou declaraзгo - by GuiihCamargo - 01.05.2014, 02:13
Re: Funзгo invalida ou declaraзгo - by Cor3y - 01.05.2014, 02:20
Re: Funзгo invalida ou declaraзгo - by ZaturN - 01.05.2014, 02:30
Re: Funзгo invalida ou declaraзгo - by GuiihCamargo - 01.05.2014, 02:53
Re: Funзгo invalida ou declaraзгo - by ZaturN - 01.05.2014, 03:04
Re: Funзгo invalida ou declaraзгo - by GuiihCamargo - 01.05.2014, 03:52

Forum Jump:


Users browsing this thread: 1 Guest(s)