Problema con funcion KEY
#6

no me funciona, asi deje el codigo
pawn Код:
if(newkeys & KEY_HANDBRAKE)
    {
        if(IsPlayerConnected(playerid))
        {
            if(IsPlayerInAnyVehicle(playerid))
                {
                    if(engineOn[newcar] == 1)
                    {
                        if(IsABike(newcar) || IsATrain(newcar) || IsASweeper(newcar) || IsAPlane(newcar)) { return 1; }
                        if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { return 1; }
                        if(IsAnOwnableCar(newcar)) { if(PlayerInfo[playerid][pPcarkey] == newcar) { } else { return 1; } }

                        format(string, sizeof(string), "* %s apaga el motor del vehнculo.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        engineOn[newcar] = false;
                        gEngine[playerid] = 0;
                        return 1;
                    }
                }
        }
    }
Reply


Messages In This Thread
Problema con funcion KEY - by santo_zoketaso - 02.11.2011, 20:53
Respuesta: Problema con funcion KEY - by Jovanny - 02.11.2011, 21:06
Respuesta: Problema con funcion KEY - by santo_zoketaso - 02.11.2011, 21:26
Respuesta: Problema con funcion KEY - by TiNcH010 - 02.11.2011, 21:30
Respuesta: Problema con funcion KEY - by Synyster - 02.11.2011, 23:25
Respuesta: Problema con funcion KEY - by santo_zoketaso - 03.11.2011, 00:02
Respuesta: Problema con funcion KEY - by TiNcH010 - 03.11.2011, 00:26
Respuesta: Problema con funcion KEY - by santo_zoketaso - 03.11.2011, 00:32
Respuesta: Problema con funcion KEY - by TiNcH010 - 03.11.2011, 01:22
Re: Problema con funcion KEY - by dis77urbio - 03.11.2011, 01:25

Forum Jump:


Users browsing this thread: 2 Guest(s)