05.01.2010, 22:32
Bueno, pues chicos, tengo un problema al intentar compilar un GM, el cual el error estб vinculado a una cosa llamada "strtok", les dejo las lнneas haber si me podeis ayudar, gracias!
Gracias denuevo!
Код:
C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(12836) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(16501) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(16649) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(17042) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(17349) : warning 215: expression has no effect C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(17790) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(22319) : error 025: function heading differs from prototype C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(22320) : error 021: symbol already defined: "strtok" C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(22330) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Sergio\Escritorio\Mas cosas\SAMP\Servidor TDRP\gamemodes\tdrp013.pwn(22421) : error 021: symbol already defined: "HexToInt"
Код:
Lнnea 12836: x_info = strtok(cmdtext, idx); Lнnea 16501: x_info = strtok(cmdtext, idx); Lнnea 16649: x_info = strtok(cmdtext, idx); Lнnea 17042: x_info = strtok(cmdtext, idx); Lнnea 17349: format(string, sizeof(string), "[ANUNCIO] %s - Tlf: %d", result), PlayerInfo[playerid][pPhoneNumber]; Lнnea 17790: x_info = strtok(cmdtext, idx); Lнnea 22319:strtok(string[],&idx,seperator = ' ') Lнnea 22320:{ Lнnea 22330: return ret; Lнnea 22421:stock HexToInt(string[]) {