[Ajuda] KEY_YES
#1

Bom galera, o DiegoCosta estava me ajudando a arrumar o sistema de Ligar/Desligar o faro apertando a tecla Y, conseguimos concluir:
PHP код:
    if (newkeys KEY_YES)//Erro aki
    
{
        if(
IsPlayerInAnyVehicle(playerid))
        {
            if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
                new 
vehicleidenginelightsalarmdoorsbonnetbootobjective;
                
GetVehicleParamsEx(vehicleidenginelightsalarmdoorsbonnetbootobjective);
                if(
lights == 0)
                {
                
SetVehicleParamsEx(vehicleidengine0alarmdoorsbonnetbootobjective);
                }
                else
                {
                
SetVehicleParamsEx(vehicleidengine1alarmdoorsbonnetbootobjective);
                }
            }
            else
                
SendClientMessage(playerid0x00FF00FF"Voce nгo й o motorista do veнculo.");
        }
        else
            
SendClientMessage(playerid0x00FF00FF"Voce nгo estб em um veнculo");
    } 
Que por acaso estб a me ocasionar um erro:
PHP код:
Linha1181
Tipo
Erro 017
Explicaзгo
undefined symbol "KEY_YES" 
Bom, se alguem puder ajudar agradeзo.

Abraзos.
Reply


Messages In This Thread
KEY_YES - by matheusspohr - 07.05.2015, 06:48
Re: KEY_YES - by DiegoCosta - 07.05.2015, 07:00
Re: KEY_YES - by LuisFerreira - 07.05.2015, 15:12
Re: KEY_YES - by DiegoCosta - 07.05.2015, 15:22
Re: KEY_YES - by LuisFerreira - 07.05.2015, 15:25
Re: KEY_YES - by DiegoCosta - 07.05.2015, 15:29
Re: KEY_YES - by LuisFerreira - 07.05.2015, 15:31
Re: KEY_YES - by Bruno13 - 07.05.2015, 16:30
Re: KEY_YES - by matheusspohr - 07.05.2015, 16:35
Re: KEY_YES - by Bruno13 - 07.05.2015, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)