Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
Alguйm pode me ajudar?
pawn Код:
C:\Users\Matheus\Desktop\Brasil Optimised Life\gamemodes\OptimisedLife.pwn(32659) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Matheus\Desktop\Brasil Optimised Life\gamemodes\OptimisedLife.pwn(32659) : error 029: invalid expression, assumed zero
C:\Users\Matheus\Desktop\Brasil Optimised Life\gamemodes\OptimisedLife.pwn(32659) : error 029: invalid expression, assumed zero
C:\Users\Matheus\Desktop\Brasil Optimised Life\gamemodes\OptimisedLife.pwn(32659) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Linha do erro:
pawn Код:
SpecialGameTextForPlayer(playerid, LoginServidor, 10000, 6);
Re: Erro ao compilar [BOL] Brasil Optimized Life -
HardWar - 16.12.2012
Manda a linha
32658
Re: Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
Quote:
Originally Posted by HardWar
Manda a linha 32658
|
[pawn] ClearChatbox(playerid, 10);
Re: Erro ao compilar [BOL] Brasil Optimized Life -
HardWar - 16.12.2012
Mande a stock ClearChatbox
Re: Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
Desculpe, nгo sei onde fica sou novato em pawn
Re: Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
Quote:
Originally Posted by HardWar
Mande a stock ClearChatbox
|
Й o cmd que vc quer? se for ta ai
pawn Код:
CMD:lchat(playerid, params[]) return cmd_limparchat(playerid, params);
CMD:limparchat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo й um admin !");
return 1;
}
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 1341)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/trabalhar)");
return 1;
}
foreach(Player, i)
{
ClearChatbox(i, 100);
}
GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
if(admtrampando[playerid] == 1 && admhide[playerid] == 1)
{ format(STR, sizeof(STR), "~b~Algum administrador ~n~~w~Resetou o Chat !"); }
else
{ format(STR, sizeof(STR), "~b~%s ~n~~w~Resetou o Chat !", Nome); }
SpecialGameTextForAll(STR, 5000, 1);
return 1;
}
Re: Erro ao compilar [BOL] Brasil Optimized Life -
HardWar - 16.12.2012
Aperte Ctrl+F e coloque stock ClearChatbox
Re: Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
Nгo tem "stock ClearChatbox" no GM ;/
Re: Erro ao compilar [BOL] Brasil Optimized Life -
HardWar - 16.12.2012
Procure entao por public ClearChatbox
Re: Erro ao compilar [BOL] Brasil Optimized Life -
MatheusNunes - 16.12.2012
pawn Код:
public ClearChatbox(playerid, lines)
{
for(new i=0; i<lines; i++)
{
SendClientMessage(playerid, COLOR_GREY, "");
}
return 1;
}
Eu acho que se vocк tiver skype ou team viewer fica mais facil...