Jump to content
  • 0

As avea nevoie de un mic ajutor!!


Gabriel19

Question

Am dat F9 si mi-a aparut aceste erori daca mati putea ajuta as fi cel mia recunascator Multumesc!!

C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2002) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2027) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2098) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2102) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2114) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2118) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2122) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2126) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2130) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2134) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2138) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2150) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2154) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2158) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2162) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2166) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2178) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2182) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2186) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2198) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2202) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2949) : error 004: function "SendIRCMessage" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2971) : error 004: function "SendIRCMessage" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(2983) : error 004: function "SaveCK" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(3013) : error 004: function "SavePapers" is not implemented
C:\DOCUME~1\ADMINI~1\Desktop\NEWFOL~1\GAMEMO~1\ROLE-P~1.PWN(3044) : error 004: function "SaveFamilies" is not implemented

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


26 Errors.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Nu ai pus un }

+1 post facut degeaba.

Adauga pe la sfarsitul scriptului astea:

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    if(IsPlayerConnected(playerid))
    {
        new Float:oldposx, Float:oldposy, Float:oldposz;
        new Float:tempposx, Float:tempposy, Float:tempposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        tempposx = (oldposx -x);
        tempposy = (oldposy -y);
        tempposz = (oldposz -z);
        //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
        if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
        {
            return 1;
        }
    }
    return 0;
}
forward SetPlayerToTeamColor(playerid);
public SetPlayerToTeamColor(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if (PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)
        SetPlayerColor(playerid,0xFDF9C9FF);
        if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
        SetPlayerColor(playerid,0x0000FFFF);
        if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
        SetPlayerColor(playerid,0x0000FFFF);
        if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
        SetPlayerColor(playerid,0x690E85FF);
        if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
        SetPlayerColor(playerid,0xFFD700FF);
        if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
        SetPlayerColor(playerid,0x3E039FF);
        if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
        SetPlayerColor(playerid,0x0000FFFF);
        if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
        SetPlayerColor(playerid,0xFF9B9BFF);
        if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
        SetPlayerColor(playerid,0xDA1800FF);
        if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
        SetPlayerColor(playerid,0xA98701FF);
        if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
        SetPlayerColor(playerid,0x9ACD32FF);
        if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
        SetPlayerColor(playerid,0xFFFFFFFF00);
        if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
        SetPlayerColor(playerid,0xEFC6FFFF);
        if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
        SetPlayerColor(playerid,0xFFFF00FF);
        if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
        SetPlayerColor(playerid,0x00F5FFFF);
        if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
        SetPlayerColor(playerid,0xBFEFFFFF);
        if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
        SetPlayerColor(playerid,0xFED489FF);
    }
}
forward SendIRCMessage(channel, color, string[]);
public SendIRCMessage(channel, color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayersChannel[i] == channel)
            {
                SendClientMessage(i, color, string);
            }
        }
    }
}
forward SaveCK();
public SaveCK()
{
    new idx;
    new File: file2;
    while (idx < sizeof(CKInfo))
    {
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring), "%s|%s|%d\n",
        CKInfo[idx][cSendername],
        CKInfo[idx][cGiveplayer],
        CKInfo[idx][cUsed]);
        if(idx == 0)
        {
              file2 = fopen("ck.cfg", io_write);
        }
        else
        {
            file2 = fopen("ck.cfg", io_append);
        }
        fwrite(file2, coordsstring);
        idx++;
        fclose(file2);
    }
    return 1;
}
forward SavePapers();
public SavePapers()
{
    new idx;
    new File: file2;
    while (idx < sizeof(IRCInfo))
    {
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%s|%s|%s|%s|%s|%d\n",
        PaperInfo[idx][PaperUsed],
        PaperInfo[idx][PaperMaker],
        PaperInfo[idx][PaperTitle],
        PaperInfo[idx][PaperText1],
        PaperInfo[idx][PaperText2],
        PaperInfo[idx][PaperText3],
        PaperInfo[idx][PaperText4],
        PaperInfo[idx][PaperText5],
        PaperInfo[idx][PaperText6],
        PaperInfo[idx][PaperText7],
        PaperInfo[idx][SafeSaving]);
        if(idx == 0)
        {
            file2 = fopen("papers.cfg", io_write);
        }
        else
        {
            file2 = fopen("papers.cfg", io_append);
        }
        fwrite(file2, coordsstring);
        idx++;
        fclose(file2);
    }
    return 1;
}
forward SaveFamilies();
public SaveFamilies()
{
    new idx;
    new File: file2;
    while (idx < sizeof(FamilyInfo))
    {
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%d|%f|%f|%f|%f|%d\n",
        FamilyInfo[idx][FamilyTaken],
        FamilyInfo[idx][FamilyName],
        FamilyInfo[idx][FamilyMOTD],
        FamilyInfo[idx][FamilyColor],
        FamilyInfo[idx][FamilyLeader],
        FamilyInfo[idx][FamilyMembers],
        FamilyInfo[idx][FamilySpawn][0],
        FamilyInfo[idx][FamilySpawn][1],
        FamilyInfo[idx][FamilySpawn][2],
        FamilyInfo[idx][FamilySpawn][3],
        FamilyInfo[idx][FamilyInterior]);
        if(idx == 0)
        {
            file2 = fopen("families.cfg", io_write);
        }
        else
        {
            file2 = fopen("families.cfg", io_append);
        }
        fwrite(file2, coordsstring);
        idx++;
        fclose(file2);
    }
    return 1;
}

Data viitoare posteaza in Probleme Godfather.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.