20.11.2011, 18:42
oi eu criei um comando "/comando" em dialogo com zcmd e ta dando esses erros
aki como estar o comando
Код:
C:\Users\Moises\Desktop\Serve 0.3c R2\gamemodes\as.pwn(275) : error 037: invalid string (possibly non-terminated string) C:\Users\Moises\Desktop\Serve 0.3c R2\gamemodes\as.pwn(275) : error 029: invalid expression, assumed zero C:\Users\Moises\Desktop\Serve 0.3c R2\gamemodes\as.pwn(275) : error 029: invalid expression, assumed zero C:\Users\Moises\Desktop\Serve 0.3c R2\gamemodes\as.pwn(275) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
COMMAND:comandos(playerid, params[]) { new comandos[300]; strins(comandos,"\n",strlen(comandos)); strins(comandos,"{7491F6}/corrida\n{7491F6}/pmi\n{7491F6}/drop\n{7491F6}/kill\n{7491F6}/insano\n{7491F6}/reparar\n {7491F6}/Drift\n{7491F6}/afk\n{7491F6}/sairafk\n",strlen(comandos)); strins(comandos,"\n",strlen(comandos)); ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "{F60000} ----------- Comandos ----------- ",creditos, "Fechar", ""); return 1; }