SA-MP Forums Archive
Help 2ERRORS !! REPP+ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help 2ERRORS !! REPP+ (/showthread.php?tid=368099)



Help 2ERRORS !! REPP+ - Vizi - 12.08.2012

Hi!!
Hey can somebody help me with those errors?

pawn Код:
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(5334) : error 010: invalid function or declaration
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(5337) : error 054: unmatched closing brace ("}")
Lines:

pawn Код:
if(TransportDuty[playerid] == 1)
    {
        TaxiDrivers -= 1;
    }
    else if(TransportDuty[playerid] == 2)
    {
        BusDrivers -= 1;
    }
    if(PlayerInfo[playerid][pJob] == 11)
    {
        if(JobDuty[playerid] == 1) { Medics -= 1; }
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
        if(JobDuty[playerid] == 1) { Mechanics -= 1; }
    }
}
    if (PlayerInfo[playerid][pRoadblock] != 0)  // LINE 5334
    {
        RemoveRoadblock(playerid);
    }          // LINE 5337



Re: Help 2ERRORS !! REPP+ - StrangeLove - 12.08.2012

pawn Код:
if(TransportDuty[playerid] == 1)
    {
        TaxiDrivers -= 1;
    }
    else if(TransportDuty[playerid] == 2)
    {
        BusDrivers -= 1;
    }
    if(PlayerInfo[playerid][pJob] == 11)
    {
        if(JobDuty[playerid] == 1) { Medics -= 1; }
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
        if(JobDuty[playerid] == 1) { Mechanics -= 1; }
    }
    if (PlayerInfo[playerid][pRoadblock] != 0)
    {
        RemoveRoadblock(playerid);
    }



Re: Help 2ERRORS !! REPP+ - Vizi - 12.08.2012

if i do that i have
those errors :S

pawn Код:
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1542) : error 004: function "FixHour" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1695) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1720) : error 004: function "SendFamilyMessage" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1721) : error 004: function "SendFamilyMessage" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1722) : error 004: function "SendFamilyMessage" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1867) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1973) : error 004: function "SetPlayerToTeamColor" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1998) : error 004: function "SetPlayerToTeamColor" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2017) : error 004: function "SetPlayerCriminal" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2022) : error 004: function "SetPlayerCriminal" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2086) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2090) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2102) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2106) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2110) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2114) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2118) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2122) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2126) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2138) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2142) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2146) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2150) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2154) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2166) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(2170) : error 004: function "PlayerToPoint" is not implemented



Re: Help 2ERRORS !! REPP+ - Devilxz97 - 12.08.2012

show the whole public


Re: Help 2ERRORS !! REPP+ - Vizi - 12.08.2012

public of what?Removeroadblock?


Re: Help 2ERRORS !! REPP+ - Devilxz97 - 12.08.2012

Quote:
Originally Posted by Vizi
Посмотреть сообщение
public of what?Removeroadblock?
nvm..

where did u place this code ?

pawn Код:
if(TransportDuty[playerid] == 1)
    {
        TaxiDrivers -= 1;
    }
    else if(TransportDuty[playerid] == 2)
    {
        BusDrivers -= 1;
    }
    if(PlayerInfo[playerid][pJob] == 11)
    {
        if(JobDuty[playerid] == 1) { Medics -= 1; }
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
        if(JobDuty[playerid] == 1) { Mechanics -= 1; }
    }
    if (PlayerInfo[playerid][pRoadblock] != 0)
    {
        RemoveRoadblock(playerid);
    }



Re: Help 2ERRORS !! REPP+ - Vizi - 12.08.2012

fixed