Ayuda comando
#1

Me da error, quiero ponerle un espacio al comando, pero me sale eso.

pawn Код:
CMD:llaves(playerid, params[])
{
if(strcmp(params,"coche",true) == 0)
            {
    new Float: x, Float: y, Float: z;
    if(Info[playerid][pVehicleKeysFrom] != INVALID_PLAYER_ID)
    {
        new ownerid = Info[playerid][pVehicleKeysFrom];
        if(IsPlayerConnected(ownerid))
        {
            new d = Info[playerid][pVehicleKeys];
            if(PlayerVehicleInfo[ownerid][d][pvId] != INVALID_PLAYER_VEHICLE_ID) GetVehiclePos(PlayerVehicleInfo[ownerid][d][pvId], x, y, z);
            if(IsPlayerInRangeOfPoint(playerid, 3.0, x, y, z))
            {
                if(PlayerVehicleInfo[ownerid][d][pvLock] > 0)
                {
                    if(PlayerVehicleInfo[ownerid][d][pvLocked] == 0)
                    {
                        GameTextForPlayer(playerid,"~r~Vehiculo bloqueado!",5000,6);
                        PlayerPlaySoundEx(1145, x, y, z);
                        PlayerVehicleInfo[ownerid][d][pvLocked] = 1;
                        LockPlayerVehicle(ownerid, PlayerVehicleInfo[ownerid][d][pvId], PlayerVehicleInfo[ownerid][d][pvLock]);
                        return 1;
                    }
                    else
                    {
                        GameTextForPlayer(playerid,"~g~Vehiculo desbloqueado!",5000,6);
                        PlayerPlaySoundEx(1145, x, y, z);
                        PlayerVehicleInfo[ownerid][d][pvLocked] = 0;
                        UnLockPlayerVehicle(ownerid, PlayerVehicleInfo[ownerid][d][pvId], PlayerVehicleInfo[ownerid][d][pvLock]);
                        return 1;
                    }
                }
                else
                {
                    Enviarmensaje(playerid, -1, "{FFFF54}>> {FFFFFF} Usted no tiene un sistema de bloqueo instalado en el vehнculo.");
                    return 1;
                }
            }
        }
    }
    for(new d = 0 ; d < MAX_PLAYERVEHICLES; d++)
    {
        if(PlayerVehicleInfo[playerid][d][pvId] != INVALID_PLAYER_VEHICLE_ID) GetVehiclePos(PlayerVehicleInfo[playerid][d][pvId], x, y, z);
        if(IsPlayerInRangeOfPoint(playerid, 3.0, x, y, z))
        {
            if(PlayerVehicleInfo[playerid][d][pvLock] > 0 && PlayerVehicleInfo[playerid][d][pvLocked] == 0)
            {
                GameTextForPlayer(playerid,"~r~Vehiculo bloqueado!",5000,6);
                PlayerPlaySoundEx(1145, x, y, z);
                PlayerVehicleInfo[playerid][d][pvLocked] = 1;
                LockPlayerVehicle(playerid, PlayerVehicleInfo[playerid][d][pvId], PlayerVehicleInfo[playerid][d][pvLock]);
                return 1;
            }
            else if(PlayerVehicleInfo[playerid][d][pvLock] > 0 && PlayerVehicleInfo[playerid][d][pvLocked] == 1)
            {
                GameTextForPlayer(playerid,"~g~Vehiculo desbloqueado!",5000,6);
                PlayerPlaySoundEx(1145, x, y, z);
                PlayerVehicleInfo[playerid][d][pvLocked] = 0;
                UnLockPlayerVehicle(playerid, PlayerVehicleInfo[playerid][d][pvId], PlayerVehicleInfo[playerid][d][pvLock]);
                return 1;

            }
            Enviarmensaje(playerid, -1, "{FFFF54}>> {FFFFFF} Usted no tiene un sistema de bloqueo instalado en el vehнculo.");
            return 1;
        }
    }
    Enviarmensaje(playerid, -1, "{FFFF54}>> {FFFFFF} Debes de estar cerca de un coche tuyo.");
    return 1;
}
Errores

pawn Код:
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\pawno\include\G_ObjectsRot.inc(91) : error 004: function "OnObjectRotated" is not implemented
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2577) : error 017: undefined symbol "severTimers_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2578) : error 017: undefined symbol "severTimers2_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2580) : error 017: undefined symbol "saveAccounts_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2581) : error 017: undefined symbol "VehicleUpdate_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2582) : error 017: undefined symbol "ServerMicrobeat_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2583) : error 017: undefined symbol "SyncUp_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2584) : error 017: undefined symbol "Mensajes_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2585) : error 017: undefined symbol "EMSUpdate_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2586) : error 017: undefined symbol "playerTabbedLoop_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2587) : error 017: undefined symbol "SpecUpdate_yT@"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2632) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2634) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2641) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2643) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2644) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2651) : error 017: undefined symbol "GetPlayerVehicle"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2652) : error 017: undefined symbol "UpdatePlayerVehicleMods"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2664) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2695) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2709) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2723) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2737) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2751) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2765) : error 017: undefined symbol "NOPCheck"
C:\Users\Jean Carlos\Desktop\Nevada Roleplay 0.3z\gamemodes\Nevada.pwn(2779) : error 017: undefined symbol "NOPCheck"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)