[Ajuda] erros aqui - 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] erros aqui (
/showthread.php?tid=346253)
[Ajuda] erros aqui -
Tiago_Brandao - 27.05.2012
Alguem me ajuda a resolver estes erros?
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3647) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3651) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3653) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3654) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3659) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3662) : warning 203: symbol is never used: "PlayerB"
C:\Users\PC\Desktop\GTA SERVER\Samp 0.3E Server\gamemodes\RPVIDA.pwn(3662) : warning 203: symbol is never used: "onPlayerInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Linhas:
pawn Код:
if(strcmp(cmd, "/convidar", true) == 0)
{
tmp = strtok(cmdtext, idx);
new PlayerB;
if(!strlen(tmp)) return SendClientMessage(playerid, Branco, "Uso correto: /convidar [id]");
PlayerB = strval(tmp);
if(!IsPlayerConnected(PlayerB)) return SendClientMessage(playerid, Branco, "Este jogador nгo estб conectado");
if(PlayerInfo[playerid][GNR] >= 6)
{
PlayerInfo[PlayerB][GNR] = 1;
SendClientMessage(PlayerB, Branco, "Vocк entrou na GNR");
SetPlayerColor(PlayerB, Cor_GNR);
return 1;
Re: [Ajuda] erros aqui -
blacktrindade - 27.05.2012
pawn Код:
if(strcmp(cmd, "/convidar", true) == 0)
{
tmp = strtok(cmdtext, idx);
new PlayerB;
if(!strlen(tmp)) return SendClientMessage(playerid, Branco, "Uso correto: /convidar [id]");
PlayerB = strval(tmp);
if(!IsPlayerConnected(PlayerB)) return SendClientMessage(playerid, Branco, "Este jogador nгo estб conectado");
if(PlayerInfo[playerid][GNR] >= 6)
{
PlayerInfo[PlayerB][GNR] = 1;
SendClientMessage(PlayerB, Branco, "Vocк entrou na GNR");
SetPlayerColor(PlayerB, Cor_GNR);
}
return 1;
}