zG:RP Error!
#1

Hello All Guys!

I was testing zG:RP, when i complie it i get this.

pawn Код:
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(2544) : error 017: undefined symbol "E_STREAMER_ATTACH_OFFSET_Z"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(4917) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(4927) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7475) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7475) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7475) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7480) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7480) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7480) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7586) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7586) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7586) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7591) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7591) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7591) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7599) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7599) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7599) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7604) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7604) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(7604) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(12574) : error 017: undefined symbol "E_STREAMER_ATTACH_OFFSET_Z"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(13859) : error 017: undefined symbol "EditDynamicObject"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(13871) : error 017: undefined symbol "EditDynamicObject"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(17872) : error 017: undefined symbol "E_STREAMER_ATTACH_OFFSET_Z"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(18633) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditDynamicObject")
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21788) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21788) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21788) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21810) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21810) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21810) : warning 202: number of arguments does not match definition
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21936) : error 017: undefined symbol "E_STREAMER_ATTACH_OFFSET_Z"
C:\Users\DoNalD\Downloads\zGAMING\zGamin\gamemodes\ZRP.pwn(21970) : error 017: undefined symbol "E_STREAMER_ATTACH_OFFSET_Z"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.
Okk, Here Are the lines :

Error 1
pawn Код:
if(IsPlayerNPC(playerid))
    {
        SetPlayerColor(playerid, TRANSPARENT_WHITE);
        /*BusText = Create3DTextLabel("[NPC] Bus Driver", COLOR_YELLOW, 0, 0, -20, 25, -1, 1);
        Attach3DTextLabelToPlayer(BusText, playerid, 0, 0, 0.25);*/

        BusText = CreateDynamic3DTextLabel("[NPC] Bus Driver", COLOR_YELLOW, 0, 0, -20, 25, playerid);
2544    Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
        return 1;
    }
Error 2, 3
pawn Код:
if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
        Siren[veh] = 1;
        SirenObject[veh] = CreateDynamicObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
4917        AttachDynamicObjectToVehicle(SirenObject[veh],veh, 0.0, 0.75, 0.275, 0.0, 0.1, 0.0);
        format(string, sizeof(string), "* %s attaches a siren to the dashboard.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
    }
    else if(!strcmp(type, "roof"))
    {
        if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
        Siren[veh] = 2;
        SirenObject[veh] = CreateDynamicObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
4927        AttachDynamicObjectToVehicle(SirenObject[veh], veh, -0.43, 0.0, 0.785, 0.0, 0.1, 0.0);
        format(string, sizeof(string), "* %s attaches a siren to the vehicle's roof.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
    }
    }
Error 4
pawn Код:
if(PlayerInfo[playerid][pAdmin] == 6) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, playerid);
        Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, aDutyText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
    }
Error 5

pawn Код:
GetDynamicObjectPos(GateInfo[idx][gGate], gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
        GetDynamicObjectRot(GateInfo[idx][gGate], gRot[playerid][0], gRot[playerid][1], gRot[playerid][2]);
13859   EditDynamicObject(playerid, GateInfo[idx][gGate]);
Error 6

pawn Код:
GetDynamicObjectPos(GateInfo[idx][gGate], gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
        GetDynamicObjectRot(GateInfo[idx][gGate], gRot[playerid][0], gRot[playerid][1], gRot[playerid][2]);
13871   EditDynamicObject(playerid, GateInfo[idx][gGate]);
Error 7

pawn Код:
VIPText[playerid] = CreateDynamic3DTextLabel(string, COLOR_VIP, 0, 0, -20, 25, playerid);
                        Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, VIPText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
17872                   SendClientMessage(playerid, COLOR_VIP, "You have toggled your VIP Head Tag on.");
Error 8, 9 Are same with 7
Reply
#2

Update your SAMP includes along with the ZRP includes.
Reply
#3

Thanks a lot Bro i own you ((+Reped))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)