Compiling errrors!, OnPlayerPickupPickup/streamer caused
#1

Hi!


I have some problem with my script!...

When I compile I got tons of errors...
Something that I don't even have touched shows up..

I think it have to do something with my streamer, but I'm not fully sure..

Or/also OnPlayerPickupPickup.

All is blank until the other lines to OnPlayerPickupPickup...

Код:
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(363) : error 017: undefined symbol "Streamer_OnPlayerPickUpPickup"
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(423) : error 017: undefined symbol "Streamer_OnPlayerEnterRaceCP"
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(443) : error 017: undefined symbol "Streamer_OnPlayerLeaveRaceCP"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : warning 217: loose indentation
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : error 004: function "Streamer_OnPlayerEnterRaceCP" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : error 004: function "Streamer_OnPlayerLeaveRaceCP" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : error 004: function "OnRconCommand" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : error 004: function "OnPlayerRequestSpawn" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : error 004: function "OnObjectMoved" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : error 004: function "OnPlayerObjectMoved" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : error 004: function "Streamer_OnPlayerPickUpPickup" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1337) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1347) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1356) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1357) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1358) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1359) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1360) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1361) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1362) : error 017: undefined symbol "pickupid"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
OnPlayerPickupPickup:

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == PipeTurf)
    {
        {
        SetTimer("PipeTurfT", 9000,false);
        GangZoneShowForAll(gZonePipe,GetPlayerColor(playerid));
        GangZoneFlashForAll(gZonePipe,(playerid));
        }
        return 1;
    }
       
    if(pickupid == MotelVTurf)
    {
        {
        SetTimer("MotelVTurfT", 9000,false);
        GangZoneShowForAll(MotelVZone,GetPlayerColor(playerid));
        GangZoneFlashForAll(MotelVZone,(playerid));
        }
        return 1;
    }
    if(pickupid == BuySell)ShowPlayerDialog(playerid, DIALOG_SELLBUY, DIALOG_STYLE_LIST, "Buy or sell something", "Sell\nBuy\t", "Ok", "Channel");
    if(pickupid == ChDownS)SetPlayerPos(playerid,942.9265,2401.8914,-6.4758);
    if(pickupid == ChDownS2)SetPlayerPos(playerid,957.2559,2468.9224,1.4203);
    if(pickupid == LVP)MoveObject(LVL,2189.27, 1010.40, 77.65, 2.00);
    if(pickupid == LVP2)MoveObject(LVL,2189.27, 1010.40, 11.38,2.00);
    if(pickupid == Infernus) ShowPlayerDialog(playerid,DIALOG_BuyCarD,DIALOG_STYLE_LIST, "Buy a Infernus for 40 000$", "Buy Infernus\t", "Ok", "Cancel");
    if(pickupid == CopA)SetPlayerPos(playerid,206.6575,182.5950,1003.1824);
    if(pickupid == Shop0)SetPlayerPos(playerid,2305.5657,947.0315,3.3000);
    if(pickupid == Shop1)SetPlayerPos(playerid,2312.4048,965.4644,10.8203);
    if(pickupid == Cop0) SetPlayerPos(playerid,2290.7002,2460.5935,38.687); //uppe "(Uppe(Frеn,nere))"
    if(pickupid == Cop1) SetPlayerPos(playerid,2293.8987,2468.3975,10.8203);  //Nere ("SpawnFцrNere")
    if(pickupid == Sword) GivePlayerWeapon(playerid,8,1);
    if(pickupid == Garage0)SetPlayerPos(playerid,2268.2446,2446.4902,3.5313);
    if(pickupid == Garage1)SetPlayerPos(playerid,2294.8838,2451.5078,10.8203);
    if(pickupid == CH) ShowPlayerDialog(playerid,DIALOG_CH,DIALOG_STYLE_LIST, "Criminal headquarter", "Enter\nBreak in\t", "Ok", "Cancel"); //sa-mp wiki fцr mer info
    return 1;
    }
//  if(pickupid == FixCar && IsPlayerInAnyVehicle(playerid))
//  if(!IsPlayerInAnyVehicle(playerid))
//  {
//  new vehicleid;
//  vehicleid = GetPlayerVehicleID(playerid);
//  RepairVehicle(vehicleid);
//  GetPlayerMoney(playerid);
//  GivePlayerMoney(playerid,-150);
//  SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
//  return 1;
//  }
//  return 1;
//}
Yeah it looks silly with the comment there...

I have tired if it caused the errors but I think it didn't..
Reply
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == PipeTurf)
    {
        //{
        SetTimer("PipeTurfT", 9000,false);
        GangZoneShowForAll(gZonePipe,GetPlayerColor(playerid));
        GangZoneFlashForAll(gZonePipe,(playerid));
        //}
        return 1;
    }
       
    if(pickupid == MotelVTurf)
    {
        //{
        SetTimer("MotelVTurfT", 9000,false);
        GangZoneShowForAll(MotelVZone,GetPlayerColor(playerid));
        GangZoneFlashForAll(MotelVZone,(playerid));
        //}
        return 1;
    }
you dont need those braces
Reply
#3

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == PipeTurf)
    {
        SetTimer("PipeTurfT", 9000,false);
        GangZoneShowForAll(gZonePipe,GetPlayerColor(playerid));
        GangZoneFlashForAll(gZonePipe,(playerid));
        return 1;
    }
       
    if(pickupid == MotelVTurf)
    {
        SetTimer("MotelVTurfT", 9000,false);
        GangZoneShowForAll(MotelVZone,GetPlayerColor(playerid));
        GangZoneFlashForAll(MotelVZone,(playerid));
        return 1;
    }
    if(pickupid == BuySell) ShowPlayerDialog(playerid, DIALOG_SELLBUY, DIALOG_STYLE_LIST, "Buy or sell something", "Sell\nBuy\t", "Ok", "Channel");
    if(pickupid == ChDownS) SetPlayerPos(playerid,942.9265,2401.8914,-6.4758);
    if(pickupid == ChDownS2) SetPlayerPos(playerid,957.2559,2468.9224,1.4203);
    if(pickupid == LVP) MoveObject(LVL,2189.27, 1010.40, 77.65, 2.00);
    if(pickupid == LVP2) MoveObject(LVL,2189.27, 1010.40, 11.38,2.00);
    if(pickupid == Infernus) ShowPlayerDialog(playerid,DIALOG_BuyCarD,DIALOG_STYLE_LIST, "Buy a Infernus for 40 000$", "Buy Infernus\t", "Ok", "Cancel");
    if(pickupid == CopA) SetPlayerPos(playerid,206.6575,182.5950,1003.1824);
    if(pickupid == Shop0) SetPlayerPos(playerid,2305.5657,947.0315,3.3000);
    if(pickupid == Shop1) SetPlayerPos(playerid,2312.4048,965.4644,10.8203);
    if(pickupid == Cop0) SetPlayerPos(playerid,2290.7002,2460.5935,38.687); //uppe "(Uppe(Frеn,nere))"
    if(pickupid == Cop1) SetPlayerPos(playerid,2293.8987,2468.3975,10.8203);  //Nere ("SpawnFцrNere")
    if(pickupid == Sword) GivePlayerWeapon(playerid,8,1);
    if(pickupid == Garage0) SetPlayerPos(playerid,2268.2446,2446.4902,3.5313);
    if(pickupid == Garage1) SetPlayerPos(playerid,2294.8838,2451.5078,10.8203);
    if(pickupid == CH) ShowPlayerDialog(playerid,DIALOG_CH,DIALOG_STYLE_LIST, "Criminal headquarter", "Enter\nBreak in\t", "Ok", "Cancel"); //sa-mp wiki fцr mer info
    if(pickupid == FixCar)
    {
        if(!IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
            return 1;
        }
        else
        {
            new vehicleid;
            vehicleid = GetPlayerVehicleID(playerid);
            RepairVehicle(vehicleid);
            GetPlayerMoney(playerid);
            GivePlayerMoney(playerid, -150);
            SendClientMessage(playerid, 0xFFFFFFFF, "vehicle repaired!");
        }
    }
    return 1;
}
Pickup FixCar solved too
Reply
#4

Thanks a lot guys!
Reply
#5

Sorry for bumb but problem isn't solved yet..

Still some errors left.. I think it's caused by my streamer..


Код:
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(363) : error 017: undefined symbol "Streamer_OnPlayerPickUpPickup"
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(423) : error 017: undefined symbol "Streamer_OnPlayerEnterRaceCP"
D:\Davids\Scripting\Server Las Venturas TDM mix\Server 0.3x\pawno\include\streamer.inc(443) : error 017: undefined symbol "Streamer_OnPlayerLeaveRaceCP"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : warning 217: loose indentation
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1305) : error 004: function "Streamer_OnPlayerEnterRaceCP" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1310) : error 004: function "Streamer_OnPlayerLeaveRaceCP" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1315) : error 004: function "OnRconCommand" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1320) : error 004: function "OnPlayerRequestSpawn" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1325) : error 004: function "OnObjectMoved" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1330) : error 004: function "OnPlayerObjectMoved" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1335) : error 004: function "Streamer_OnPlayerPickUpPickup" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1337) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1345) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1352) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1353) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1354) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1355) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1356) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1357) : error 017: undefined symbol "pickupid"
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1358) : error 017: undefined symbol "pickupid"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#6

Streamer's Callbacks
pawn Код:
forward OnDynamicObjectMoved(objectid);
forward OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz);
forward OnPlayerSelectDynamicObject(playerid, objectid, modelid, Float:x, Float:y, Float:z);
forward OnPlayerPickUpDynamicPickup(playerid, pickupid);
forward OnPlayerEnterDynamicCP(playerid, checkpointid);
forward OnPlayerLeaveDynamicCP(playerid, checkpointid);
forward OnPlayerEnterDynamicRaceCP(playerid, checkpointid);
forward OnPlayerLeaveDynamicRaceCP(playerid, checkpointid);
forward OnPlayerEnterDynamicArea(playerid, areaid);
forward OnPlayerLeaveDynamicArea(playerid, areaid);
Reply
#7

Yeah, but that doesn't fix my problem?.


Edit: Fixed...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)