Help 2ERRORS !! REPP+
#1

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
Reply
#2

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);
    }
Reply
#3

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
Reply
#4

show the whole public
Reply
#5

public of what?Removeroadblock?
Reply
#6

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);
    }
Reply
#7

fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)