The Hardest Errors of all
#1

Guys Help Me Please

Errors

pawn Код:
C:\Users\carlo\Desktop\New folder\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2491) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2493) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2495) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2518) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2630) : error 004: function "MessageToPlayerVIP" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2631) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2641) : error 004: function "MessageToAdmins" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2646) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2675) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2693) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2734) : error 017: undefined symbol "AdvertisementCheck"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2747) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2782) : error 004: function "MathsWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2804) : error 004: function "ReactionWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2824) : error 004: function "NumberWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2955) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2976) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3123) : error 017: undefined symbol "UpdateConfig"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3124) : error 017: undefined symbol "ReadTextDraws"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3139) : error 017: undefined symbol "ShowConfigInConsole"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3209) : error 004: function "CreateRaceMenus" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3215) : error 017: undefined symbol "CountBusinesses"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3216) : error 017: undefined symbol "LoadBusinesses"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3222) : error 017: undefined symbol "CountVehicles"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3223) : error 017: undefined symbol "LoadVehicles"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3226) : error 017: undefined symbol "ModVehicle"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
The line

pawn Код:
if(text[0] == '*' && AccInfo[playerid][pVip] >= 1)
    {
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        format(string,sizeof(string),"|ChatVip| %s: %s",string,text[1]);
        MessageToPlayerVIP(0xDC686BAA,string);
        SaveIn("ChatVipLog",string);
        return 0;
    }
//==============================================================================
// Administration Chat
//==============================================================================
    if(text[0] == '#' && AccInfo[playerid][Level] >= 1)
    {
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        format(string,sizeof(string),"Admin Chat: %s: %s",string,text[1]);
        MessageToAdmins(green,string);
        GetPlayerName(playerid,string,sizeof(string));
        format(string,sizeof(string),"9Admin Chat: %s: %s",string,text[1]);
        IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, string);
        #if ADM_CHAT_LOG == true
        SaveIn("AdmChatLog",string);
        #endif
        return 0;
    }
//==============================================================================
// Chat Disabled
//==============================================================================
    if(ServerInfo[DisableChat] == 1)
    {
        Inter_SendClientMessage(playerid,red,"|- Chat has been Disabled! -|");
        return 0;
    }
//==============================================================================
// Player Muted
//==============================================================================
    if(AccInfo[playerid][Muted] == 1)
    {
        AccInfo[playerid][MuteWarnings]++;
        new string[128];
        if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings])
        {
            format(string, sizeof(string),"|- ATTENTION: You are Muted! Cannot talk (Warnings: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]);
            Inter_SendClientMessage(playerid,red,string);
        }
        else
        {
            Inter_SendClientMessage(playerid,red,"|- You have been Automatically Kicked. | Reason: Exceeding Mute Warnings -|");
            format(string, sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Exceeding Mute Warnings -|",PlayerName2(playerid),playerid);
            Inter_SendClientMessageToAll(grey,string);
            SaveIn("KickLog",string); Kick(playerid);
        } return 0;
    }
//==============================================================================
// Flood/Spam Protection
//==============================================================================
    if(ServerInfo[AntiSpam] == 1 && (AccInfo[playerid][Level] == 0 && !IsPlayerAdmin(playerid)))
    {
        if(AccInfo[playerid][SpamCount] == 0) AccInfo[playerid][SpamTime] = TimeStamp();

        AccInfo[playerid][SpamCount]++;
        if(TimeStamp() - AccInfo[playerid][SpamTime] > SPAM_TIMELIMIT) { // Its OK your messages were far enough apart
            AccInfo[playerid][SpamCount] = 0;
            AccInfo[playerid][SpamTime] = TimeStamp();
        }
        else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS) {
            new string[64]; format(string,sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Flood/Spam Protection", PlayerName2(playerid),playerid);
            Inter_SendClientMessageToAll(grey,string); print(string);
            SaveIn("KickLog",string);
            Kick(playerid);
        }
        else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS-1) {
            Inter_SendClientMessage(playerid,red,"ATTENTION: Anti Spam Warning! Next is a Kick!");
            return 0;
        }
    }
//==============================================================================
// Send Admin in front of name
//==============================================================================
    #if ADM_InMSG == true
    if (AccInfo[playerid][Hide] == 0)
    {
        if(AccInfo[playerid][Level] > 0)
        {
            new str3[256];
            format(str3, 256, "(Admin): %s", text);
            for(new gz=0;gz<MAX_PLAYERS;gz++)
            if(IsPlayerConnected(gz))
            SendPlayerMessageToPlayer(gz, playerid, str3);
            else SendPlayerMessageToPlayer(gz, playerid, text);
        }
        return 0;
    }
    #endif
//==============================================================================
// Forbidden Words
//==============================================================================
    if(ServerInfo[AntiSwear] == 1 && AccInfo[playerid][Level] < ServerInfo[MaxAdminLevel])
    for(new s = 0; s < BadWordsCount; s++)
    {
        new pos;
        while((pos = strfind(text,BadWords[s],true)) != -1)
        for(new i = pos, j = pos + strlen(BadWords[s]); i < j; i++) text[i] = '*';
    }
//==============================================================================
// Anti Advertisements
//==============================================================================
    if(ServerInfo[AntiAds] == 1)
    {
        if(AdvertisementCheck(text) && AccInfo[playerid][Level] < 3)
        {
            AccInfo[playerid][MaxAdv]++;
            new string[128];
            format(string,sizeof(string),"|- Warning! Suspected ads in your message! (Warnings: %d/%d)",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS);
            Inter_SendClientMessage(playerid, grey,string);

            if(AccInfo[playerid][MaxAdv] == MAX_ADV_WARNINGS)
            {
                format(string,sizeof(string),"|- You is Automatically Kicked. | Reason: Many ads in your Messages (%d/%d) -|",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS);
                Inter_SendClientMessage(playerid, lightred,string);

                format(string,sizeof(string),"|- Player %s (Id:%d) has beenAutomatically  Kicked. | Reason: Many Advertisements! (%d) -|",PlayerName2(playerid),playerid, MAX_ADV_WARNINGS);
                SaveIn("KickLog",string); Kick(playerid);
                Inter_SendClientMessageToAll(lightred, string);
                print(string);
            }
            return 0;
        }
    }
//==============================================================================
// Block CapsLock
//==============================================================================
    if(AccInfo[playerid][Caps] == 1)
    UpperToLower(text);
    if(ServerInfo[NoCaps] == 1)
    UpperToLower(text);

//==============================================================================
// Chat Lines (Console)
//==============================================================================
    for(new i = 1; i < MAX_CHAT_LINES-1; i++)
    Chat[i] = Chat[i+1];
    new ChatSTR[128];
    GetPlayerName(playerid,ChatSTR,sizeof(ChatSTR));
    format(ChatSTR,128,"[CHAT]%s: %s",ChatSTR, text[0]);
    Chat[MAX_CHAT_LINES-1] = ChatSTR;
//==============================================================================
// Quiz Prizes
//==============================================================================
    new answerstr[128];
    valstr(answerstr, answer);
    if(!strcmp(text, answerstr, false))
    {
        if(nukannietmaths==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        } else {
            if(mathsinprog == 2) MathsWin(playerid);
        /*  if(mathsinprog == 1)
            {
                if(mathswinnerid == playerid)
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You've already won! Dont try it again!");
                    return 0;
                }
                else
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You are too slow! Someone else took the cash!");
                    return 0;
                }
            }*/

        }
    }
    if(!strcmp(text, reactionstr, false))
    {
        if(nukannietreaction==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        } else {
            if(reactioninprog == 2) ReactionWin(playerid);
        /*  if(reactioninprog == 1)
            {
                if(reactionwinnerid == playerid)
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You've already won! Dont try it again!");
                }
                else
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You are too slow! Someone else took the cash!");
                }
            }*/

        }
    }
    if(!strcmp(text, numberstr, false))
    {
        if(nukannietnumber==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        } else {
            if(numberinprog == 2) NumberWin(playerid);
        /*    if(numberinprog == 1)
            {
                if(numberwinerid == playerid)
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You've already won! Dont try it again!");
                    return 0;
                }
                else
                {
                    Inter_SendClientMessage(playerid,0x247C1BFF,"* You are too slow! Someone else took the cash!");
                    return 0;
                }
            }*/

        }
    }
//------------------------------------------------------------------------------
    if(IsIPInText(text)) {
        Inter_SendClientMessage(playerid,RED,"You are not allowed to use IP adresses in your chat!");
        return 0;
    }
    if(strfind(text,"cheat") != -1)
    {
        Inter_SendClientMessage(playerid,RED,"To report a hacker use /report!");
    }
    if(strfind(text,"hack") != -1)
    {
        Inter_SendClientMessage(playerid,RED,"To report a hacker use /report!");
    }
    if(strfind(text,"******") != -1)
    {
        Inter_SendClientMessage(playerid,RED,"To report a hacker use /report!");
    }
    if(strfind(text,"******") != -1)
    {
        Inter_SendClientMessage(playerid,RED,"To report a hacker use /report!");
    }
    if(text[0] == '@') {
        new gangChat[128];
        new senderName[MAX_PLAYER_NAME];
        new string[128];
        strmid(gangChat,text,1,strlen(text));
        GetPlayerName(playerid, senderName, sizeof(senderName));
        format(string, sizeof(string),"%s: %s", senderName, gangChat);
        for(new i = 0; i < MAX_PLAYERS; i++) {
            if(AccInfo[i][team] == AccInfo[playerid][team]) {
                Inter_SendClientMessage(i, COLOR_YELLOW, string);
            }
        }
        format(string, sizeof(string),"8Team Chat:%s: %s", senderName, gangChat);
        IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, string);
        return 0;
    }
    if(text[0] == '!') {
        new gangChat[128];
        new senderName[MAX_PLAYER_NAME];
        new string[128];
        strmid(gangChat,text,1,strlen(text));
        GetPlayerName(playerid, senderName, sizeof(senderName));
        format(string, sizeof(string),"%s: %s", senderName, gangChat);
        for(new i = 0; i < MAX_PLAYERS; i++) {
            if(AccInfo[i][gang] == AccInfo[playerid][gang]) {
                Inter_SendClientMessage(i, COLOR_YELLOW, string);
            }
        }
        format(string, sizeof(string),"8Gang Chat:%s: %s", senderName, gangChat);
        IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, string);
        return 0;
    }
    if (Calling[playerid] > -1 && Answered[playerid] == 1)
    {
        new string[128];
        new sendername[MAX_PLAYER_NAME];
        new pReciever[MAX_PLAYER_NAME];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "%s: %s", sendername, text);
        Inter_SendClientMessage(Calling[playerid], COLOR_YELLOW, string);
        format(string, sizeof(string), "%s: %s", sendername, text);
        Inter_SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

        GetPlayerName(Calling[playerid], pReciever, sizeof(pReciever));
        format(string, sizeof(string), "|- Call: %s To %s: %s", sendername, pReciever, text);
        for (new a = 0; a < MAX_PLAYERS; a++)
        if(IsPlayerConnected(a) && (AccInfo[a][Level] >= ServerInfo[MaxAdminLevel]) && a != playerid)
        Inter_SendClientMessage(a, grey, string);
        return 0;
    }
    if (Helping[playerid] > -1)
    {
        new string[128];
        new sendername[MAX_PLAYER_NAME];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "%s: %s", sendername, text);
        Inter_SendClientMessage(Helping[playerid], COLOR_YELLOW, string);
        format(string, sizeof(string), "%s: %s", sendername, text);
        Inter_SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
        return 0;
    }
    else
    {
        new to_others[MAX_CHATBUBBLE_LENGTH+1];
        format(to_others,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
        SetPlayerChatBubble(playerid,to_others,MESSAGE_COLOR,35.0,10000);
    }
    new playname[MAX_PLAYER_NAME], ircMsg[256];
    GetPlayerName(playerid, playname, sizeof(playname));
    format(ircMsg, sizeof(ircMsg), "02[%d] 07%s: %s", playerid, playname, text);
    IRC_GroupSay(gGroupID, IRC_CHANNEL, ircMsg);
    return 1;
}
//==============================================================================
//-------------------------------------------------
// Private Message (PM)
//-------------------------------------------------
//==============================================================================
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    if(ServerInfo[ReadPMs] == 1 && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel])
    {
//==============================================================================
// Send PM
//==============================================================================
        new string[256];
        new pReciever[MAX_PLAYER_NAME];
        GetPlayerName(playerid, string, sizeof(string));
        GetPlayerName(recieverid, pReciever, sizeof(pReciever));
        format(string, sizeof(string), "|- PM: %s To %s: %s", string, pReciever, text);
        for (new a = 0; a < MAX_PLAYERS; a++)
        if(IsPlayerConnected(a) && (AccInfo[a][Level] >= ServerInfo[MaxAdminLevel]) && a != playerid)
        Inter_SendClientMessage(a, grey, string);
        #if PM_CHAT_LOG == true
        SaveIn("AdmChatLog",string);
        #endif
    }
//==============================================================================
// Muted
//==============================================================================
    if(AccInfo[playerid][Muted] == 1)
    {
        new string[256];
        AccInfo[playerid][MuteWarnings]++;
        if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings])
        {
            format(string, sizeof(string),"|- ATTENTION: You are Muted! Cannot talk (Warnings: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]);
            Inter_SendClientMessage(playerid,red,string);
        }
        else
        {
            Inter_SendClientMessage(playerid,red,"|- You have been Automatically Kicked. | Reason: Exceeding Mute Warnings -|");
            GetPlayerName(playerid, string, sizeof(string));
            format(string, sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Exceeding Mute Warnings -|", string, playerid);
            Inter_SendClientMessageToAll(lightred,string);
            SaveIn("KickLog",string);
            Kick(playerid);
        }
        return 0;
    }
    #if EnablePM_Cmd == true
    new string[256],playername[MAX_PLAYER_NAME];
    format(string,sizeof(string),"|- PM: Message to '%s(%d)': \"%s\" -|",PmReceiver,PMplayer1,text);
    Inter_SendClientMessage(playerid,0x00A765AA,string);
    PlayerPlaySound(playerid,1057,0.0,0.0,0.0);

    GetPlayerName(playerid, playername, sizeof(playername));
    format(string, sizeof(string),"|- PM: Message from: %s(%d): \"%s\" -|",playername,playerid,text);
    Inter_SendClientMessage(recieverid,0x00A765AA,string);
    #endif
    return 1;
}
//==============================================================================
//-------------------------------------------------
// ERROR Messages
//-------------------------------------------------
//==============================================================================
stock ErrorMessages(playerid, errorID)
{
    if(errorID == 1)  return Inter_SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
    if(errorID == 2)  return Inter_SendClientMessage(playerid,red,"ERROR: Player is not connected");
    if(errorID == 3)  return Inter_SendClientMessage(playerid,red,"ERROR: Player is not connected or is yourself or is the highest level admin");
    if(errorID == 4)  return Inter_SendClientMessage(playerid,red,"ERROR: Player is not connected or is yourself");
    if(errorID == 5)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 4 to use this Command");
    if(errorID == 6)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 3 to use this Command");
    if(errorID == 7)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 2 to use this Command");
    if(errorID == 8)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 1 to use this Command");
    if(errorID == 9)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 5 to use this Command");
    if(errorID == 10) return Inter_SendClientMessage(playerid,red,"ERROR: You are not in a vehicle");
    if(errorID == 11)  return Inter_SendClientMessage(playerid,red,"ERROR: You need to be Level 10 to use this Command");
    return 1;
}
//==============================================================================
//-------------------------------------------------
// HighLight
//-------------------------------------------------
//==============================================================================
public HighLight(playerid)
{
    if(!IsPlayerConnected(playerid))
    return 1;
    if(AccInfo[playerid][blipS] == 0)
    {
        SetPlayerColor(playerid, 0xFF0000AA);
        AccInfo[playerid][blipS] = 1;
    }
    else
    {
        SetPlayerColor(playerid, 0xFFFF00AA);
        AccInfo[playerid][blipS] = 0;
    }
    return 0;
}
//===============================Gamemode Start=================================
public OnGameModeInit()
{
    CreateObject(5056,-1618.30004883,688.40002441,7.80000019,0.00000000,0.00000000,90.00000000); //object(modlas) (1)
    CreateObject(5056,2294.00000000,2493.30004883,4.09999990,90.00000000,180.00000000,1.50003052); //object(modlas) (2)
    CreateObject(5056,2294.00000000,2493.30004883,4.09999990,90.00000000,180.00000000,1.49996948); //object(modlas) (3)
    CreateObject(5061,1582.80004883,-1638.00000000,14.00000000,90.00000000,0.00000000,89.25000000); //object(lascarl) (1)
    CreateObject(6189,2987.69995117,-743.09997559,-6.00000000,0.00000000,0.00000000,90.00000000); //object(gaz_pier1) (1)
    CreateObject(3607,3063.00000000,-743.90002441,14.60000038,0.00000000,0.00000000,270.00000000); //object(bevman2_law2) (1)
    CreateObject(3934,1194.50000000,-2054.80004883,62.90000153,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
    CreateObject(987,1284.00000000,-2046.69995117,58.00000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (1)
    CreateObject(987,1284.09997559,-2034.69995117,57.90000153,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (2)
    CreateObject(987,1284.09997559,-2022.90002441,57.90000153,0.00000000,0.00000000,92.00000000); //object(elecfence_bar) (3)
    CreateObject(987,1283.90002441,-2011.50000000,57.79999924,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (4)
    CreateObject(987,1283.90002441,-2002.50000000,57.70000076,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (5)
    CreateObject(987,1272.00000000,-2002.40002441,57.70000076,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (6)
    CreateObject(987,1260.19995117,-2002.40002441,58.29999924,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (7)
    CreateObject(987,1248.30004883,-2002.30004883,58.70000076,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (8)
    CreateObject(987,1237.00000000,-2002.19995117,58.90000153,0.00000000,340.00000000,179.99450684); //object(elecfence_bar) (10)
    CreateObject(987,1229.50000000,-2002.09997559,63.50000000,0.00000000,339.99938965,179.99450684); //object(elecfence_bar) (11)
    CreateObject(987,1222.50000000,-2001.90002441,67.30000305,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (12)
    CreateObject(987,1210.40002441,-2002.30004883,68.00000000,0.00000000,0.00000000,89.99450684); //object(elecfence_bar) (13)
    CreateObject(987,1210.00000000,-1993.40002441,68.00000000,0.00000000,0.00000000,180.24450684); //object(elecfence_bar) (14)
    CreateObject(987,1198.19995117,-1993.40002441,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (15)
    CreateObject(987,1186.30004883,-1993.50000000,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (16)
    CreateObject(987,1174.19995117,-1993.30004883,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (17)
    CreateObject(987,1162.19995117,-1993.19995117,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (18)
    CreateObject(987,1150.19995117,-1993.19995117,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (19)
    CreateObject(987,1138.09997559,-1993.19995117,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (20)
    CreateObject(987,1126.09997559,-1993.30004883,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (21)
    CreateObject(987,1114.09997559,-1993.19995117,68.00000000,0.00000000,0.00000000,180.24169922); //object(elecfence_bar) (22)
    CreateObject(987,1103.80004883,-1988.59997559,68.00000000,0.00000000,0.00000000,270.24169922); //object(elecfence_bar) (24)
    CreateObject(987,1103.80004883,-2000.59997559,68.00000000,0.00000000,0.00000000,270.23620605); //object(elecfence_bar) (25)
    CreateObject(987,1103.80004883,-2012.59997559,68.00000000,0.00000000,0.00000000,270.23620605); //object(elecfence_bar) (26)
    CreateObject(987,1103.90002441,-2024.30004883,68.00000000,0.00000000,0.00000000,180.23620605); //object(elecfence_bar) (27)
    CreateObject(987,1091.80004883,-2049.69995117,68.00000000,0.00000000,0.00000000,0.23071289); //object(elecfence_bar) (28)
    CreateObject(987,1103.80004883,-2049.89990234,68.00000000,0.00000000,0.00000000,270.23071289); //object(elecfence_bar) (29)
    CreateObject(987,1103.80004883,-2061.60009766,68.00000000,0.00000000,0.00000000,270.23071289); //object(elecfence_bar) (30)
    CreateObject(987,1103.90002441,-2073.50000000,68.00000000,0.00000000,0.00000000,270.23071289); //object(elecfence_bar) (31)
    CreateObject(987,1274.40002441,-2072.89990234,57.29999924,0.00000000,0.00000000,358.23071289); //object(elecfence_bar) (32)
    CreateObject(987,1262.50000000,-2072.39990234,57.40000153,0.00000000,0.00000000,358.22570801); //object(elecfence_bar) (33)
    CreateObject(987,1250.50000000,-2072.00000000,57.50000000,0.00000000,0.00000000,357.97570801); //object(elecfence_bar) (34)
    CreateObject(987,1238.80004883,-2071.69995117,58.50000000,0.00000000,0.00000000,358.22570801); //object(elecfence_bar) (35)
    CreateObject(987,1227.40002441,-2071.50000000,62.90000153,0.00000000,20.00000000,358.22570801); //object(elecfence_bar) (36)
    CreateObject(987,1216.19995117,-2071.19995117,67.00000000,0.00000000,19.99511719,358.22021484); //object(elecfence_bar) (37)
    CreateObject(987,1210.40002441,-2070.89990234,68.00000000,0.00000000,0.00000000,358.22021484); //object(elecfence_bar) (38)
    CreateObject(987,1210.00000000,-2082.80004883,68.00000000,0.00000000,0.00000000,88.21472168); //object(elecfence_bar) (39)
    CreateObject(987,1198.30004883,-2080.50000000,68.00000000,0.00000000,0.00000000,0.21472168); //object(elecfence_bar) (40)
    CreateObject(987,1186.30004883,-2080.50000000,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (41)
    CreateObject(987,1174.50000000,-2080.80004883,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (42)
    CreateObject(987,1115.19995117,-2081.00000000,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (43)
    CreateObject(987,1162.50000000,-2080.80004883,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (44)
    CreateObject(987,1139.50000000,-2080.89990234,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (45)
    CreateObject(987,1150.50000000,-2080.80004883,68.00000000,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (46)
    CreateObject(987,1127.59997559,-2080.89990234,68.09999847,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (47)
    CreateObject(987,1103.30004883,-2080.50000000,68.09999847,0.00000000,0.00000000,0.21423340); //object(elecfence_bar) (49)
    CreateObject(3749,1283.40002441,-2056.60009766,63.40000153,0.00000000,0.00000000,90.00000000); //object(clubgate01_lax) (1)
    CreateObject(987,1284.90002441,-2075.10009766,57.40000153,0.00000000,0.00000000,88.22570801); //object(elecfence_bar) (50)
    CreateObject(3749,1426.59997559,-1885.69995117,18.39999962,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (2)

//-------------------------------------IRC--------------------------------------
    SetTimerEx("IRC_ConnectDelay", 5000, 0, "d", 1);    // Connect the first bot with a delay of 5 seconds
    SetTimerEx("IRC_ConnectDelay", 10000, 0, "d", 2);   // Connect the second bot with a delay of 10 seconds
    gGroupID = IRC_CreateGroup();   // Create a group (the bots will be added to it upon connect)
    gGroupID2 = IRC_CreateGroup()// Create a group (the bots will be added to it upon connect)
//---------------------------Gamemode Settings----------------------------------
    print("\nLoading Gamemode(SATDM~RP)");
    SetGameModeText("SATDM~RP V11");
    ShowNameTags(1);
    ShowPlayerMarkers(1);
    SetWorldTime(12);
    UsePlayerPedAnims();
    BankRobbedRecently = 0;

//------------------------------LuxAdmin System---------------------------------
    if (!fexist("LuxAdmin/Config/TempBans.ban")){
    new File:open = fopen("LuxAdmin/Config/TempBans.ban",io_write);
    if (open) fclose(open);
    }

    print("\n ___________________________________________________");
    print(" ");
    printf("                   L.A.S %s                         ",LVersion);
    print("                 ---------------");
    print("             LuX Administration System               ");
    print(" ___________________________________________________\n");
    print(" -> Loading...");

    CheckFolders();
    UpdateConfig();
    ReadTextDraws();
    LoadCreatedTeles();

    for(new i = 0; i < MAX_PLAYERS; i++)
    if(IsPlayerConnected(i))
    OnPlayerConnect(i);

    for(new i = 1; i < MAX_CHAT_LINES; i++)
    Chat[i] = "[NONE]";

    for(new i = 1; i < MAX_REPORTS; i++)
    Reports[i] = "[NONE]";

    PingTimer = SetTimer("PingKick",5000,1);
    GodTimer = SetTimer("GodModUp",2000,1);
    ShowConfigInConsole();

    new year,month,day;
    getdate(year, month, day);
    new hour,minute,second;
    gettime(hour,minute,second);


    for(new i = 0; i < sizeof(RegisterCommands) ; i++ )
    RegisterCommands[i][CommandLen]=strlen(RegisterCommands[i][sCommand]);


    print(" -> Loaded Successfully!\n");
    printf(" Date: %d/%d/%d - Time: %d:%d:%d",day,month,year,hour, minute, second);
    print(" ___________________________________________________\n");
//----------------------------------Timers--------------------------------------
    GGateTimer = SetTimer("GateTimer", TIMERSPEED, true);
    //------------------------------------------------------
    CreateDynamicMapIcon(-3535.9673,-66.2674,2.1839, 5, 0); // Airport Admincastle
    CreateDynamicMapIcon(-3357.6938,-69.7644,123.2506, 19, 0); // Flag AdminCastle
    CreateDynamicMapIcon(-3284.2493,-125.4545,2.5392, 9, 0); // Boats AdminCastle
    CreateDynamicMapIcon(200.6568,2503.0281,16.4844, 5, 0); // AA
    CreateDynamicMapIcon(-468.6863,2207.8826,46.5093, 56, 0); // SpawnPoint
    CreateDynamicMapIcon(314.3689,1906.3972,17.6406, 5, 0); // Airbattle (Area51)
    CreateDynamicMapIcon(610.0776,1698.3099,6.9922, 51, 0); // Truck Stop
    CreateDynamicMapIcon(-1597.0704,-2727.6892,48.5391, 51, 0); // Truck Stop
    CreateDynamicMapIcon(-327.0811,1768.1223,42.7596, 51, 0); // Truck Stop
    CreateDynamicMapIcon(1734.6804,-1944.9839,13.564, 48, 0); // Train Station
    CreateDynamicMapIcon(-1961.2306,138.1871,27.6875, 48, 0); // Train Station
    CreateDynamicMapIcon(1433.2821,2651.9473,11.3926, 48, 0); // Train Station
    CreateDynamicMapIcon(2841.9917,1290.7056,11.3906, 48, 0); // Train Station
    CreateDynamicMapIcon(-1433.4529,-956.0518,200.9836, 19, 0); // Flag Hideout
    CreateDynamicMapIcon(1279.2773,-792.3385,88.3635, 23, 0); // Mayko
    CreateDynamicMapIcon(299.5752,-1156.7594,80.9099, 21, 0); // Monika
    CreateDynamicMapIcon(251.7223,-1220.1055,76.1024, 25, 0); // Snoop

    CP1 = CreateDynamicCP(-3331.9456,-68.4954, 13.3000,3.0); // ACastle
    CP2 = CreateDynamicCP(-3364.0000,-69.7421,122.2000,3.0); // ACastle
    CP3 = CreateDynamicCP(1548.7977,-1364.6437,1873.6387,2.0); // LSTower
    CP4 = CreateDynamicCP(1573.0187,-1337.0237,16.4844,2.0); // LSTower
    // StuntRewards
    CP5 = CreateDynamicCP(-2230.9365,-3144.9285, 26.9574, 10); // Buildingjump
    CP6 = CreateDynamicCP(-1001.5061, 2787.5010,270.1525, 10); // WayToDeath
    CP7 = CreateDynamicCP(-2104.7954, 1988.4512, 74.3328, 10); // MonsterCrash
    CP8 = CreateDynamicCP(-1732.1614,2011.5063,281.1830, 15); // FreeWay
    CP9 = CreateDynamicCP(1502.4039,-201.2229,109.0936, 15); // UpsideDown
//----------------------------------DM Stuff------------------------------------
    AllowInteriorWeapons(0);
    IsDMAllowed = 1;
    IsDM1Allowed  = 1;
    IsDM2Allowed = 1;
    IsDM3Allowed = 1;
    IsDM4Allowed = 1;
    IsDM5Allowed = 1;
    IsDM6Allowed = 1;
    IsDMRoomAllowed = 1;
//-------------------------------Load Race Script-------------------------------
    print("\n+--------------------------+");
    print("| Yagu's Race Script v0.4a |");
    print("+-----------LOADED---------+\n");
    RaceActive=0;
    Ranking=1;
    LCurrentCheckpoint=0;
    Participants=0;
    for(new i;i<MAX_BUILDERS;i++)
    {
        BuilderSlots[i]=GetMaxPlayers()+1;
    }
    if(RRotation != -1) SetTimer("RaceRotation",RRotationDelay,1);
    #if defined MENUSYSTEM
    CreateRaceMenus();
    #endif
//--------------------------------Load Businesses-------------------------------
    for(new i = 0;i<3;i++) {
        CreatePickup(1239,B_ICON_TYPE,Pickup[i][0],Pickup[i][1],Pickup[i][2]);
    }
    bizcount = CountBusinesses(B_FILE_LOAD);
    LoadBusinesses();
    print(">--------------------------------------------------------------------------");
    new bizmess[50];
    format(bizmess,50,"%d Businesses Successfully loaded and created",bizcount);
    printf(bizmess);
//--------------------------------Load Vehicles---------------------------------
    vehcount = CountVehicles(V_FILE_LOAD);
    LoadVehicles();
    for(new c=1;c<=vehcount;c++)
    {
        ModVehicle(c);
    }

Reply FAst
Reply
#2

add :
pawn Код:
new CountBusinesses
new LoadBusinesses
new CountVehicles
new LoadVehicles
new ModVehicles
Reply
#3

pawn Код:
C:\Users\carlo\Desktop\New folder\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(151) : error 001: expected token: ";", but found "new"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(152) : error 001: expected token: ";", but found "new"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(153) : error 001: expected token: ";", but found "new"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(154) : error 001: expected token: ";", but found "new"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(157) : error 001: expected token: ";", but found "new"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2496) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2498) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2500) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2523) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2635) : error 004: function "MessageToPlayerVIP" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2636) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2646) : error 004: function "MessageToAdmins" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2651) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2680) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2698) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2739) : error 017: undefined symbol "AdvertisementCheck"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2752) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2787) : error 004: function "MathsWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2809) : error 004: function "ReactionWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2829) : error 004: function "NumberWin" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2960) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2981) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3128) : error 017: undefined symbol "UpdateConfig"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3129) : error 017: undefined symbol "ReadTextDraws"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3144) : error 017: undefined symbol "ShowConfigInConsole"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(3214) : error 004: function "CreateRaceMenus" is not implemented

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Its have a errors again
Reply
#4

sorry i mean :
add :
pawn Код:
new CountBusinesses;
new LoadBusinesses;
new CountVehicles;
new LoadVehicles;
new ModVehicles;
new UpdateConfig;
new ReadTextDraws;
new AdvertisementCheck;
new ShowConfigInConsole;
Reply
#5

pawn Код:
C:\Users\carlo\Desktop\New folder\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2500) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2502) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2504) : error 017: undefined symbol "GetPlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2527) : error 017: undefined symbol "GivePlayerCash"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2639) : error 004: function "MessageToPlayerVIP" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2640) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2650) : error 004: function "MessageToAdmins" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2655) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2684) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2702) : error 004: function "SaveIn" is not implemented
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2743) : error 012: invalid function call, not a valid address
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2743) : warning 215: expression has no effect
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2743) : error 001: expected token: ";", but found ")"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2743) : error 029: invalid expression, assumed zero
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2743) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


14 Errors.
PROBLEM
Reply
#6

here you go :
pawn Код:
new GetPlayerCash;
new GivePlayerCash;
and show me line 2743
Reply
#7

I fix line 2743

then this is a error now
pawn Код:
C:\Users\carlo\Desktop\New folder\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2503) : error 012: invalid function call, not a valid address
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2503) : warning 215: expression has no effect
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2503) : error 001: expected token: ";", but found ")"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2503) : error 029: invalid expression, assumed zero
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(2503) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
LINES
pawn Код:
timer PhoneCut[1000]()
{
    for (new i = 0; i < GetMaxPlayers(); i++)
    {
    if (Calling[i] > -1 && Answered[i] == 1 && Callerid[i] == 1)
        {
        if (GetPlayerCash(i) >= CALL_UNIT_COST);
        {
        GivePlayerCash(i, -CALL_UNIT_COST);
        }
        if (GetPlayerCash(i) < CALL_UNIT_COST);
        {
        Inter_SendClientMessage(i, COLOR_BRIGHTRED, "CUT OFF: You don't have enough cash to continue this call");
        Inter_SendClientMessage(Calling[i], COLOR_BRIGHTRED, "CUT OFF: Your recipient's phone has been cut off due to lack of credit");
        SetPlayerSpecialAction(Calling[i],SPECIAL_ACTION_STOPUSECELLPHONE);
        RemovePlayerAttachedObject(Calling[i], 4);
        Calling[Calling[i]] = -1;
        Answered[Calling[i]] = 0;
        SetPlayerSpecialAction(i,SPECIAL_ACTION_STOPUSECELLPHONE);
        RemovePlayerAttachedObject(i, 4);
        Calling[i] = -1;
        Answered[i] = 0;
        Callerid[i] = 0;
            }
    }
}
    return 1;
}
Reply
#8

show me line 2503 !
Reply
#9

pawn Код:
if (GetPlayerCash(i) > CALL_UNIT_COST;
Reply
#10

pawn Код:
if (GetPlayerCash(i) > CALL_UNIT_COST);
+rep please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)