[HELP] 6 errors :/ - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] 6 errors :/ (
/showthread.php?tid=302708)
[HELP] 6 errors :/ -
ivanVU - 10.12.2011
Hello,i have this errors,help me please
Код:
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5015) : error 001: expected token: ";", but found "("
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5021) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5035) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5161) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5246) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 012: invalid function call, not a valid address
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 001: expected token: ";", but found ")"
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 029: invalid expression, assumed zero
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : fatal error 107: too many error messages on one line
5015
Код:
new ReturnUser(temp);
5021
Код:
temp = strtok(text, idx);
5035
Код:
x_nr = strtok(text, idx);
5161
Код:
x_tel = strtok(text, idx);
5246
Код:
temp = strtok(text, idx);
5253
Код:
giveplayerid = ReturnUser(temp);
Re: [HELP] 6 errors :/ -
Johnson_boy - 10.12.2011
Код:
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5015) : error 001: expected token: ";", but found "("
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5021) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5035) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5161) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5246) : error 047: array sizes do not match, or destination array is too small
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 012: invalid function call, not a valid address
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 001: expected token: ";", but found ")"
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : error 029: invalid expression, assumed zero
C:\Users\Snjezana\Desktop\Desktop\Bahamas RP\gamemodes\bah.pwn(5253) : fatal error 107: too many error messages on one line
5015
Код:
new ReturnUser(temp);
You are defining new variable as function which isn't possible.
You should have for instance new variable = ReturnUser(temp);
5021
Код:
temp = strtok(text, idx);
You've defined variable temp as too small, check the string length used in strtok and change temp to it as well.
5035
Код:
x_nr = strtok(text, idx);
You've defined variable temp as too small, check the string length used in strtok and change temp to it as well.
5161
Код:
x_tel = strtok(text, idx);
You've defined variable temp as too small, check the string length used in strtok and change temp to it as well.
5246
Код:
temp = strtok(text, idx);
You've defined variable temp as too small, check the string length used in strtok and change temp to it as well.