Problem mit RC5

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hey leute,
    ich benutze RC5 aber trozdem wenn ich z.B. was mit neons Compeliere kommt die meldung AttachObjectToVehicle
    langsam weiß ich echt nicht mehr was ich machen soll habe schon alles durch.

  • Aber dann gehen die Neons nicht.


    bsp. neon script



    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(202) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(203) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(215) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(216) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(228) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(229) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(240) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(241) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(253) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(254) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(265) : error 017: undefined symbol "AttachObjectToVehicle"
    D:\Dokumente und Einstellungen\Rene\Desktop\SunLightCity2\filterscripts\neomke.pwn(266) : error 017: undefined symbol "AttachObjectToVehicle"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    12 Errors.


    //plava
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);
    }
    if(listitem == 1)
    {



    //crvena
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);
    }
    if(listitem == 2)
    {



    //zelena
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);
    }
    if(listitem == 3)
    {


    //bijela
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);
    }
    if(listitem == 4)
    {



    //pink
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);
    }
    if(listitem == 5)
    {


    //zuta
    SetPVarInt(playerid, "Status", 1);
    SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
    SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
    AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Neon add-ed!");
    GivePlayerMoney(playerid,-50);

  • Schau mal nach, ob in deinen SA-MP-Includes ein native AttachObjectToVehicle(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ);ist oder füg diese Zeile bei dir unter die Includes ein.