13.08.2014, 18:45
Код:
C:\Documents and Settings\Administrador\Ambiente de trabalho\LHS\LHS.pwn(103) : error 001: expected token: ";", but found "}" C:\Documents and Settings\Administrador\Ambiente de trabalho\LHS\LHS.pwn(105) : error 001: expected token: ";", but found "}" C:\Documents and Settings\Administrador\Ambiente de trabalho\LHS\LHS.pwn(114) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\Administrador\Ambiente de trabalho\LHS\LHS.pwn(117) : error 001: expected token: ";", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.



Код:
if(!strcmp("/thotel",cmdtext,true))
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,branco,"Vocк nгo estб logado na rcon para usar este comando!");
if(dini_Int("hotel.ini","AF") == 0) {
dini_IntSet("hotel.ini","AF",1)
} else if(dini_Int("hotel.ini","AF") == 1) { << Aqui й a linha 103
dini_IntSet("hotel.ini","AF",0)
}<< Aqui й a linha 105
return 1;
}
if(!strcmp("/photel",cmdtext,true))
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,branco,"Vocк nгo estб logado na rcon para usar este comando!");
if(dini_Int("hotel.ini","PR") == 0) {
dini_IntSet("hotel.ini","PR",1)
ConnectNPC("Porteiro","porteiro");<< Aqui й a linha 114
} else if(dini_Int("hotel.ini","PR") == 1) {
dini_IntSet("hotel.ini","PR",0)
Kick(0); << Aqui й a linha 117
}
return 1;
}



Alguйm me poderia a ajudar a Resolver e a entender estes erros? Grato.


