Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

2 warninguri si 2 erori


Question

Posted

C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\pawno\include\JunkBuster.inc(2003) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\......pwn(10643) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\......pwn(10658) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\......pwn(13492) : warning 219: local variable "mod" shadows a variable at a preceding level
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
va rog ajutatima si pe mn cu problema asta.ast cit mai rapid
liniile 10642-10659

strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}

dak mai tr fro linie pusa imi spuneti si o pun imd

7 answers to this question

Recommended Posts

Posted

1. C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\......pwn(10643) : error 021: symbol already defined: "strtok"

Sterge tot

strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}

2. C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\......pwn(13492) : warning 219: local variable "mod" shadows a variable at a preceding level

Mai este o data definit "mod"

i0418xcttya707ofg.jpg

Posted

Sterge OnPlayerPrivmsg pentru ca nu mai exista in 0.3b

posteaza linia aia 13492

logo.png

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

Posted

nu mai am linia aia

uite si linia pe care mi-ai zis sa o postez

                    SendClientMessage(playerid, COLOR_GRAD3, gunstring4);

Posted

scz iar de dublu post.dak am incurcat cu ceva cu aceste duble posturi rog un administrator sa imi dea warn sau ban ce considera el

va rog ajutatima si pe mn k din cauza la alea 2 warninguri nu merg unele comenzi de pe sv

help pls

Posted

scz iar de dublu post.dak am incurcat cu ceva cu aceste duble posturi rog un administrator sa imi dea warn sau ban ce considera el

va rog ajutatima si pe mn k din cauza la alea 2 warninguri nu merg unele comenzi de pe sv

help pls

Frate si eu am avut BlodZ dar este plin de buguri o sa te convingi pe parcurs ;)

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.