Jump to content
  • 0

2 warninguri si 2 erori


laury

Question

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

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ;)

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.