Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Va rog ajutati-ma la aceste erori


Question

Posted

Imi tot da urmatoarele erori la linia 2018 dintr-un gamemode:

E:\Jocuri Bogdan\Arhive\After School\gamemodes\GameZone.pwn(2018) : error 017: undefined symbol "MAX_STRING"

E:\Jocuri Bogdan\Arhive\After School\gamemodes\GameZone.pwn(2018) : error 029: invalid expression, assumed zero

E:\Jocuri Bogdan\Arhive\After School\gamemodes\GameZone.pwn(2018) : error 017: undefined symbol "srclen"

E:\Jocuri Bogdan\Arhive\After School\gamemodes\GameZone.pwn(2018) : fatal error 107: too many error messages on one line

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

4 Errors.

si aici e linia 2018:  new retval[MAX_STRING], srclen;

definitia intreaga este:

stock right(source[], len)

{

new retval[MAX_STRING], srclen;

srclen = strlen(source);

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

return retval;

}

va rog ajutati-ma va rog mult..multumesc anticipat!

ubd1488.png

1 answer to this question

Recommended Posts

Posted

stock right( source[ ], len )

{

  new retval[ 500 ];

  strmid( retval, source, strlen( source ) - len, strlen( source ), 500 );

  return( retval );

}


Vezi ca ai facut 2xPost, Reported...

142sj0l.png

Underground-GFX

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.