SA-MP Forums Archive
[Ajuda] 4 erros - 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] 4 erros (/showthread.php?tid=414037)



4 erros - duuuwh - 07.02.2013

C:\Users\Eduardo\AppData\Local\Temp\Rar$EXa0.726\p awno\include\PPC_PlayerCommands.inc(2776) : error 037: invalid string (possibly non-terminated string)
C:\Users\Eduardo\AppData\Local\Temp\Rar$EXa0.726\p awno\include\PPC_PlayerCommands.inc(2776) : error 017: undefined symbol "Server"
C:\Users\Eduardo\AppData\Local\Temp\Rar$EXa0.726\p awno\include\PPC_PlayerCommands.inc(2776) : warning 215: expression has no effect
C:\Users\Eduardo\AppData\Local\Temp\Rar$EXa0.726\p awno\include\PPC_PlayerCommands.inc(2776) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Eduardo\AppData\Local\Temp\Rar$EXa0.726\p awno\include\PPC_PlayerCommands.inc(2776) : fatal error 107: too many error messages on one line

PHP код:
public Timer_Restart_Reboot()
{
    new 
HostCommand[128];
    
SendRconCommand("gmx");
    
format(HostCommand128"hostname %s"GameModeName);
    
SendRconCommand(HostCommand);
    
SendRconCommand("password 0");
    return 
1;

linha
PHP код:
format(HostCommand128"hostname %s"GameModeName); 



Re: 4 erros - Nill.Oliveira - 07.02.2013

o error ta na include PPC_PlayerCommands !, nгo nesses codes qe voce mandou ..
A nгo ser qe voce tenha botado essa CallBack nas include PPC_PlayerCommands.inc que й so de comandos da PPC_Truking.


Re: 4 erros - duuuwh - 07.02.2013

'-' sim tб lб, ai eu postei a linha ai, e o cуdigo completo ;/


Re: 4 erros - Nill.Oliveira - 07.02.2013

CallBack's qe vocк criar, tem qe colocar no gamemode, nгo na include !
A include PPC_PlayerCommands.inc, so tem comandos em ZCMD, e sу !


Re: 4 erros - duuuwh - 07.02.2013

mas eu nгo mechi em nada.. \o/


Re: 4 erros - Nill.Oliveira - 07.02.2013

ta .
Abre a include PPC_PlayerCommands.inc, e me manda a linha 2776


Re: 4 erros - duuuwh - 07.02.2013

jб mandei jovem '-'

format(HostCommand, 128, "hostname %s", GameModeName);

rsrsr


Re: 4 erros - Nill.Oliveira - 07.02.2013

isso ta na include PPC_PlayerCommands.inc ? lol


Re: 4 erros - duuuwh - 07.02.2013

sim. '-'


Re: 4 erros - Nill.Oliveira - 07.02.2013

o gamemode da PPC_Truking й organizado vey,
Segue o padrгo e coloca isso no gamemode.pwn .