Jump to content
  • 0

Problema la compile


zguNNy

Question

Salut.Astazi am adaugat cateva comenzi intr-un GM (mute,unmute,cc,slap,asay) si cand ii dau compile imi apare asa:

C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "asay"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "cc"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "mute"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "slap"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "unmute"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.

 

Precizez ca gamemode-ul are doar 3251 linii :D Ce e de facut? :(

Edited by zguNNy
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Posteaza comenzile sa vedem ce ai facut.

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

Link to comment
Share on other sites

  • 0

CMD:asay(playerid, params[])
{
    new message[128], string[256], sendername[25];
    if(playerVariables[playerid][pAdminLevel] >= 1)
    {
        if(sscanf(params, "s[128]", message)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"t [message]");
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "(( %s says: {ff8080}%s {afd9fa}))", sendername, message);
            SendClientMessageToAll(COLOR_LIGHT, string);
        }
    }
    else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
    return 1;
}
CMD:cc(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
            if(playerVariables[playerid][pAdminLevel] >= 1)
            {
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");
                SendClientMessageToAll(COLOR_LIGHTGREEN, " ");

                format(szMessage, 256,"%s has cleared the chat.",GetName(playerid));
                submitToHelpersAndAdmins(szMessage, COLOR_HOTORANGE);
                adminLog(szMessage);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
    }
    return 1;
}
CMD:slap(playerid,params[]) {
    if(playerVariables[playerid][pAdminLevel] >= 1) {
        new
            userID;

        if(sscanf(params, "u", userID))
            return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/slap [playerid]");

        if(playerVariables[userID][pStatus] == 0 || !IsPlayerConnected(userID))
            return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated.");


        if(AFK[userID] == 1)
            return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is sleeping.");

        if(playerVariables[playerid][pAdminLevel] >= playerVariables[userID][pAdminLevel])
        {
            if(Slap[playerid] == 0)
            {
                new
                    string[64],

                    Float: playerHealth,
                    Float: fPos[3];

                GetPlayerName(userID, szPlayerName, MAX_PLAYER_NAME);

                GetPlayerPos(userID, fPos[0], fPos[1], fPos[2]);
                PlayerPlaySoundEx(1190, fPos[0], fPos[1], fPos[2]);
                SetPlayerPos(userID, fPos[0], fPos[1], fPos[2]+5);

                GetPlayerHealth(userID, playerHealth);
                SetPlayerHealth(userID, playerHealth-5);

                format(string, sizeof(string), "You have slapped %s.", szPlayerName);
                SendClientMessage(playerid, COLOR_WHITE, string);

                Slap[playerid] = 3;

                new name[MAX_PLAYER_NAME];
                GetPlayerName(playerid, name, MAX_PLAYER_NAME);
                format(string, 256,"%s has slaped %s.",name, szPlayerName);
                submitToHelpersAndAdmins(string, COLOR_LIGHTRED);
                adminLog(string);
            }
            else return SendClientMessage(playerid, COLOR_WHITE, "Please wait 3 seconds!");
        }
    }
    else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
    return 1;
}
CMD:mute(playerid, params[])
{
    new id, seconds,reason[60], string[256],name1[MAX_PLAYER_NAME],name2[MAX_PLAYER_NAME];
    if(sscanf(params, "uis[60]", id, seconds,reason)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/mute [playerid] [minutes] [reason]");
    {
        if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
        {
            if((seconds >= 1) && (seconds <= 60))
            {
                playerVariables[id][pMuted] = seconds * 60;
                GetPlayerName(playerid, name1, MAX_PLAYER_NAME);
                GetPlayerName(id, name2, MAX_PLAYER_NAME);
                format(string, 256,"%s has been muted by %s for %d minutes, reason: %s.",name2, name1, seconds, reason);
                SCMTA(COLOR_LIGHTRED,string);
                SCM(id,-1,"You have been muted.");
                adminLog(string);
            }
            else SCM(playerid, -1, "Minutes mut be under 60!");
        }
        else SCM(playerid, -1, AdminOnly);
    }
    return 1;
}
CMD:unmute(playerid, params[])
{
    new id;
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/unmute [playerid]");
    {
        if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1)
        {
            if(playerVariables[id][pMuted] > 0)
            {
                playerVariables[id][pMuted] = 0;
                SCM(playerid,-1,"Player unmuted.");
                SCM(id,-1,"You have been unmuted.");
            }
            else SCM(playerid, -1, "This player isn't muted!");
        }
        else SCM(playerid, -1, AdminOnly);
    }
    return 1;
}

 

Link to comment
Share on other sites

  • 0

Salut.Astazi am adaugat cateva comenzi intr-un GM (mute,unmute,cc,slap,asay) si cand ii dau compile imi apare asa:

C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "asay"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "cc"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "mute"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "slap"
C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "unmute"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.

 

Precizez ca gamemode-ul are doar 3251 linii :D Ce e de facut? :(

​Cel mai probabil, aceste simboluri sunt enumarate. In fine, cauta in GM unde sunt, si stergele, nimic mai simplu.

242086.png

Link to comment
Share on other sites

  • 0

@KnowN Tu citești și restul reply-urilor? Am spus eu cu un post înaintea ta exact același lucru! Te rog nu posta fără să citești.

În urma puntului de reputație care mi l-ai dat, am tras concluzia că problema a fost rezolvată. Dacă tot îți dă bătăi de cap te rog să-mi dai un PM @zguNNy .

Topic closed!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.