[Ajuda] ERRO
#1

Como resolvo isso: esta dando erro na linha que faz onde o player morre poder usar o cmd novamente.

Erro:


Код:
C:\Users\PequeninO\Desktop\PequeninO 26.04\gamemodes\sandreas.pwn(1745) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
1 Error.

Linha do ERRO:

Код:
return false;

Codigo:


Код:
CMD:ccolete(playerid) //• Vida ™
{
static str_msg[128];
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, 0xFFF000AA, "[ERRO]: Voc? n?o tem dinheiro suficiente!");
if(Block_Colete[playerid] == 1) return SendClientMessage(playerid, 0xFFF000AA, "[ERRO]: Voc? j? pegou colete, aguarde voc? morrer para poder pegar novamente!");
format(str_msg, sizeof(str_msg), "{FF0000}[INFO]{FFFFFF} %s comprou colete e gastou R$100. ( /CCOLETE )", Nome(playerid));
SendClientMessageToAll(0xFFFFFF, str_msg);
GivePlayerMoney(playerid, -200);
SetPlayerArmour(playerid, 100);
Block_Colete[playerid] = 1;
return true;
}
return false;
}
Reply


Messages In This Thread
ERRO - by maxblaya01 - 27.04.2016, 03:00
Re: ERRO - by ApocaSamp - 27.04.2016, 03:37
Re: ERRO - by maxblaya01 - 27.04.2016, 04:57
Re: ERRO - by 99fe3rnando - 27.04.2016, 05:03
Re: ERRO - by maxblaya01 - 27.04.2016, 05:17
Re: ERRO - by 99fe3rnando - 27.04.2016, 05:40
Re: ERRO - by maxblaya01 - 27.04.2016, 05:58
Re: ERRO - by F1N4L - 27.04.2016, 11:14
Re: ERRO - by maxblaya01 - 27.04.2016, 13:31
Re: ERRO - by F1N4L - 27.04.2016, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)