Jump to content

Question

Posted

Nick: BossDeBoss

Problema: errori compiler

Erori / warnings:

[pawn]

D:\samp03\pawno\include\Dubd.inc(274) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(275) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(276) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(277) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(278) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(279) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(280) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(281) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(282) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(283) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(284) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(285) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(286) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(287) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(288) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(289) : error 017: undefined symbol "strtok"

D:\samp03\pawno\include\Dubd.inc(273) : warning 203: symbol is never used: "i"

D:\samp03\pawno\include\coptools.inc(45) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"

D:\samp03\pawno\include\coptools.inc(45) : error 017: undefined symbol "RemovePlayerAttachedObject"

D:\samp03\pawno\include\coptools.inc(46) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"

D:\samp03\pawno\include\coptools.inc(46) : error 017: undefined symbol "RemovePlayerAttachedObject"

D:\samp03\pawno\include\coptools.inc(43) : warning 203: symbol is never used: "playerid"

D:\samp03\pawno\include\coptools.inc(43 -- 51) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"

D:\samp03\pawno\include\coptools.inc(43 -- 51) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

22 Errors.

[/pawn]

Lini/script:

[pawn]#define MAX_SPIKESTRIPS 50

#define ShowDialog ShowPlayerDialog

#define vehicleid2 vehicleid-245

#define RADIO 465

#define COLOR_BLACK 0x000000AA

#define speedcolor 0x008080FF

#define RealEstate              false[/pawn]

Ai incercat sa rezolvi singur ?: Am incercat

4 answers to this question

Recommended Posts

Posted

Pune asta la sfarsitul gamemode-ului

[pawn]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;

}

[/pawn]

Si updateaza includerele pe 0.3z

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

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.