errors while compiling
#1

I tried to fix them but I failed
errors:
Код:
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(173) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 017: undefined symbol "funcidx"
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : warning 215: expression has no effect
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 001: expected token: ";", but found ")"
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 029: invalid expression, assumed zero
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : fatal error 107: too many error messages on one line
173:
Код:
{160},
175:
Код:
{170},
from this :
Код:
new CivPedsMale[54][1] = {
{2},
{47},
{48},
{50},
{58},
{60},
{68},
{72},
{73},
{80},
{81},
{82},
{83},
{95},
{100},
{101},
{102},
{103},
{104},
{108},
{109},
{110},
{121},
{122},
{123},
{135},
{142},
{143},
{144},
{146},
{153},
{154},
{155},
{156},
{158},
{159},
{160},
{161},
{170},
{180},
{189},
{202},
{203},
{204},
{258},
{259},
{260},
{293},
{295},
{296},
{297},
{61},
{255},
{253}
};
Reply
#2

Use a 1D array for it. However, the errors are from the irc.inc and not from the mode you're trying to compile so I guess you include irc BEFORE a_samp. It should be:
pawn Код:
#include <a_samp>
#include <irc>
// other includes..
and
pawn Код:
new CivPedsMale[254] =
{
    2,
    47,
    48,
    50,
    58,
    60,
    68,
    72,
    73,
    80,
    81,
    82,
    83,
    95,
    100,
    101,
    102,
    103,
    104,
    108,
    109,
    110,
    121,
    122,
    123,
    135,
    142,
    143,
    144,
    146,
    153,
    154,
    155,
    156,
    158,
    159,
    160,
    161,
    170,
    180,
    189,
    202,
    203,
    204,
    258,
    259,
    260,
    293,
    295,
    296,
    297,
    61,
    255,
    253
};
Reply
#3

You're missing a bracket somewhere most likely.

Your array could be used like:
pawn Код:
new CivPedsMale[54] = {
Or even:
pawn Код:
new CivPedsMale[] = {
Reply
#4

Quote:

C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(173) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 017: undefined symbol "funcidx"
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : warning 215: expression has no effect
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 001: expected token: ";", but found ")"
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : error 029: invalid expression, assumed zero
C:\Users\Ahmed Hassan\Desktop\Server\pawno\include\irc.inc(175) : fatal error 107: too many error messages on one line

The following errors are due to your IRC include. What you can do is re-download the include again.
Reply
#5

I followed Konstantinos method and got new errors
Код:
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(1404) : error 017: undefined symbol "DestroyProgressBar"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(15105) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(40792) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(40792) : warning 213: tag mismatch
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(40793) : error 017: undefined symbol "SetProgressBarMaxValue"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(40794) : error 017: undefined symbol "SetProgressBarColor"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(44071) : warning 203: symbol is never used: "CivPedsFemale"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\UGRP.pwn(44071) : warning 203: symbol is never used: "CivPedsMale"
bluebaron Rep+ thank you it fixed expect these errors above
Reply
#6

pawn Код:
#include <progress>
Reply
#7

same errors
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)