Jump to content
  • 0

Erori Compilare


ScaRLighT

Question

C:\Documents and Settings\Alexyo\Desktop\GameZone\gamemodes\GameZone.pwn(2077) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Alexyo\Desktop\GameZone\gamemodes\GameZone.pwn(2077) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Alexyo\Desktop\GameZone\gamemodes\GameZone.pwn(2077) : error 017: undefined symbol "srclen"
C:\Documents and Settings\Alexyo\Desktop\GameZone\gamemodes\GameZone.pwn(2077) : fatal error 107: too many error messages on one line

[pawn]stock right(source[], len)

{

new retval[MAX_STRING], srclen;  - 2077

srclen = strlen(source);

strmid(retval, source, srclen - len, srclen, MAX_STRING);

return retval;

}[/pawn]

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Acum imi da alte erori :

  (2082) : error 001: expected token: "-identifier-", but found "("
 (2083) : error 029: invalid expression, assumed zero
 (2084) : error 029: invalid expression, assumed zero
 (2084) : error 029: invalid expression, assumed zero
 (2084) : error 029: invalid expression, assumed zero
 (2084) : fatal error 107: too many error messages on one line

[pawn]stock right(source[], len)

{

new retval(MAX_STRING), srclen;

srclen = strlen(source);

strmid(retval, source, srclen - len, srclen, MAX_STRING);

return retval;

}[/pawn]

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.