[Ajuda] Comando - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Comando (
/showthread.php?tid=369359)
Comando -
s4kuL - 16.08.2012
Ai gente ajuda ai por favor, sу falta esse sistema pro meu servidor iniciar, й um sistema de corrida que traduzi de Apple-Ipad.
Linhas:
pawn Код:
dcmd_help(playerid, params[])
{
#pragma unused params
new StringHelp[500];
format(StringHelp, sizeof(StringHelp), "/brace (Configurar a corrida)\n/fcp (Onde comeзa a corrida)\n/check (Add Checkpoint)\n/setcar [ID] (veiculo da corrida)\n/setworld [20 to 150] (Mundo da corrida)\n/setlimit [10 a 100] (Limite de Players)\n/setonfoot [0 or 1] (0 = Precisa de veiculo 1 = Nгo precisa)\n/savecar (Criar veiculo da corrida)\n/srace [name] (Salvar a corrida)\n/crace (Limpar a corrida)\n/lrace [nome] (Carregar corrida)\n/rstart (Comeзar a corridae)\n/erace (Terminar a corrida)\n/enter (Entrar na corrida)\n/exit (Sair da corrida)");
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX,"Cmandos de Evento", StringHelp,"Close","");
return 1;
}
Erros:
pawn Код:
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Servidor GTA\Race\filterscripts\applerace.pwn(368) : error 075: input line too long (after substitutions)
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Servidor GTA\Race\filterscripts\applerace.pwn(369) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Servidor GTA\Race\filterscripts\applerace.pwn(369) : error 017: undefined symbol "a"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Servidor GTA\Race\filterscripts\applerace.pwn(369) : error 017: undefined symbol "corrida"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Servidor GTA\Race\filterscripts\applerace.pwn(369) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Por favor me ajudem!
Re: Comando -
Gabriel Santana - 16.08.2012
UP pra te ajudarem, tou aprendendo ainda.
Re: Comando -
s4kuL - 16.08.2012
Alguйm
??
Re: Comando - rjjj - 16.08.2012
Isto deve resolver o seu problema
:
pawn Код:
dcmd_help(playerid, params[])
{
#pragma unused params
new StringHelp[500];
strcat(StringHelp, "/brace (Configurar a corrida)\n/fcp (Onde comeзa a corrida)\n/check (Add Checkpoint)\n/setcar [ID] (veiculo da corrida)\n/setworld [20 to 150] (Mundo da corrida)\n/setlimit [10 a 100] (Limite de Players)\n/setonfoot [0 or 1] (0 = Precisa de veiculo 1 = Nгo precisa)\n");
strcat(StringHelp, "/savecar (Criar veiculo da corrida)\n/srace [name] (Salvar a corrida)\n/crace (Limpar a corrida)\n/lrace [nome] (Carregar corrida)\n/rstart (Comeзar a corridae)\n/erace (Terminar a corrida)\n/enter (Entrar na corrida)\n/exit (Sair da corrida)");
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX, "Comandos de Evento", StringHelp, "Close", "");
return 1;
}
Espero ter ajudado
.
Re: Comando -
s4kuL - 16.08.2012
Valeeu ai rjjj tu й bom cara!
RESOLVIDO
Re: Comando -
Dollzi - 16.08.2012
tava com um problema semelhante, pela lуgica resolvi olhano ese codigo haha vlw