SA-MP Forums Archive
[AJUDA]Comando da 26 erros, ao tirar fica sу com 2 ¬¬ - 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 da 26 erros, ao tirar fica sу com 2 ¬¬ (/showthread.php?tid=223435)



[AJUDA]Comando da 26 erros, ao tirar fica sу com 2 ¬¬ - KiiS_TRUEPhone - 09.02.2011

Olб pessoal , estive pedindo ajuda para alguns e o amigo garfield, me deu este comando novo e dai , da 26 erros no gm , serб que poderia ajudar ? й neste comando sim pois quando tiro desaparece TODOS erros.
Код:
  if(strcmp(cmd, "/abrirteste", true) == 0)
          {
          if(IsPlayerConnected(playerid))
          {
          if(PlayerInfo[playerid][pAdmin] >= 4)
          {
          if(open == true)
          {
          SendClientMessageToAll(playerid, COLOR_GREEN, "Jб estб havendo um teste");
          return 0;
          }
          Gato[playerid] = true;
          SendClientMessageToAll(playerid, COLOR_GREEN, " Teste Aberto digite,/irteste para entrar!");
          }
          }
          return 1;
          }


          if(strcmp(cmd, "/fecharteste", true) == 0)
          {
          if(IsPlayerConnected(playerid))
          {
          if(PlayerInfo[playerid][pAdmin] >= 4)
          {
          if(open == false)
          {
          SendClientMessageToAll(playerid, COLOR_GREEN, "Nenhum teste aberto no momento");
           return 0;
           }
           Gato[playerid] = false;
           SendClientMessageToAll(playerid, COLOR_GREEN, " Teste Trancado!");
           }
           }
           return 1;
           }

           if(strcmp(cmd, "/irteste",true) == 0)
           {
           if(PlayerInfo[playerid][pAdmin] >= 0)
           {
           if(open == false)
           {
           SendClientMessageToAll(playerid, COLOR_GREEN, "Nenhum teste em andamento!");
           return 0;
           }
           SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
           SetPlayerInterior(playerid,1);
           return 1;
           }


Erros :

Код:
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(4753) : error 004: function "FixHour" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5356) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5357) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5358) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5374) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5375) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5376) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5392) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5393) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5394) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5422) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5434) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5449) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(5461) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6094) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6103) : error 004: function "ProxDetector" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6108) : error 017: undefined symbol "IsAtCandySprunk"
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6132) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6140) : error 004: function "ProxDetector" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6145) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6152) : error 004: function "ProxDetector" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6153) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6154) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6155) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6158) : error 004: function "PlayerToPoint" is not implemented
C:\Users\SEVEN\Desktop\Xande arquivos\RTG9І.pwn.pwn(6164) : error 004: function "ProxDetector" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Help-Me ? ;(


Re: [AJUDA]Comando da 26 erros, ao tirar fica sу com 2 ¬¬ - leandro123456 - 09.02.2011

falta uma ultima chave no ultimo comando. e so presta atenзгo.

if(strcmp(cmd, "/abrirteste", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
if(open == true)
{
SendClientMessageToAll(playerid, COLOR_GREEN, "Jб estб havendo um teste");
return 0;
}
Gato[playerid] = true;
SendClientMessageToAll(playerid, COLOR_GREEN, " Teste Aberto digite,/irteste para entrar!");
}
}
return 1;
}


if(strcmp(cmd, "/fecharteste", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
if(open == false)
{
SendClientMessageToAll(playerid, COLOR_GREEN, "Nenhum teste aberto no momento");
return 0;
}
Gato[playerid] = false;
SendClientMessageToAll(playerid, COLOR_GREEN, " Teste Trancado!");
}
}
return 1;
}

if(strcmp(cmd, "/irteste",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 0)
{
if(open == false)
{
SendClientMessageToAll(playerid, COLOR_GREEN, "Nenhum teste em andamento!");
return 0;
}
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
SetPlayerInterior(playerid,1);
}
return 1;
}


Re: [AJUDA]Comando da 26 erros, ao tirar fica sу com 2 ¬¬ - KiiS_TRUEPhone - 09.02.2011

Valeu , arrumou mesmo rs.;