PDA

View Full Version : I have a many errors...


dundolina
21/11/2011, 07:21 PM
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1238) : error 017: undefined symbol "AntiDeAMX"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1245) : error 004: function "FixHour" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1265) : error 004: function "FixHour" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1269) : error 017: undefined symbol "LoadFactions"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1913) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1927) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1969) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1989) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(1998) : error 017: undefined symbol "GivePlayerCash"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2024) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2066) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2083) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2089) : error 017: undefined symbol "GivePlayerCash"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2112) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2118) : error 017: undefined symbol "GivePlayerCash"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2131) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2160) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2169) : error 017: undefined symbol "GivePlayerCash"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2182) : error 004: function "TimeTextForPlayer" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2252) : error 004: function "ResetStats" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2271) : error 017: undefined symbol "PlayerName"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2281) : error 079: inconsistent return types (array & non-array)
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2293) : error 079: inconsistent return types (array & non-array)
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2296) : warning 225: unreachable code
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2296) : warning 217: loose indentation
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2296) : error 029: invalid expression, assumed zero
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2296) : error 004: function "ResetStats" is not implemented
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(2355) : error 079: inconsistent return types (array & non-array)

--------------------------------------------------------------------------------------------------------------
How to fix ?

sleepysnowflake
21/11/2011, 07:24 PM
Missing bracket.

http://forum.sa-mp.com/showthread.php?t=291018

dundolina
21/11/2011, 07:35 PM
I dont have amx file ?

dundolina
22/11/2011, 03:59 PM
Okay to get someone here to help me do it and put it here only to withdraw it?

dundolina
23/11/2011, 08:27 AM
Help ?

dundolina
24/11/2011, 04:17 PM
Please help !

------------------------------------------

Okay to get someone here to help me do it and put it here only to withdraw it?

YoUnG_KiD
24/11/2011, 04:32 PM
Dont Bump and Post the Codes in [CODE]

CSSI
24/11/2011, 04:36 PM
Post in PAWN Code.
And, How can we help without seeing the Code?

dundolina
24/11/2011, 06:50 PM
Here's the code, and many thanks to those who help;)

http://dox.bg/files/dw?a=5c66a52226

dundolina
24/11/2011, 09:08 PM
Help ?!?!

Kayaque
24/11/2011, 09:24 PM
No one will download your script.
Use pastebin if anything.

Nenad
24/11/2011, 09:56 PM
i fixed it ... it is compiled with 0.3d rc9 includes btw... here you go

dundolina
25/11/2011, 04:34 PM
Have a 2 errors..

C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(604) : error 021: symbol already defined: "strtok"
C:\Users\ники\Desktop\LV mod + gangs original R5 junk 2011 nai-originalniq ot vsichki\LV mod + gangs original\samp 0.3c server\gamemodes\gangwars.pwn(619) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

marwan
25/11/2011, 04:40 PM
remove stock strtok lines

Pharrel
25/11/2011, 04:40 PM
1st error: you have 2 strtok's... so delete one of them.(probably one is on a include so delete the one in your GM)
2nd error: post the error line.

nuriel8833
25/11/2011, 04:41 PM
About error #2 - increase/reduce the size of your array,but again we need to see the code in order to help you

dundolina
25/11/2011, 05:36 PM
The second error (619 series)

return result;

IceCube!
25/11/2011, 05:38 PM
Whats the result?

Post the code above it!

dundolina
25/11/2011, 05:46 PM
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;
}

Nenad
25/11/2011, 05:49 PM
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;
}

remove that function ... i uncommented it because it was giving me errors when i was compiling it...just comment it again like it was or delete it