19.01.2013, 20:32
(
Последний раз редактировалось NuTShoT; 26.01.2013 в 23:10.
)
@RESOLVIDO +rep A TODOS
public OnPlayerDeath(playerid, killerid, reason)
{
if(Sequestrado(playerid) == 1)
{
new Texto[80];
format(Texto,80,"Fim de Sequestro. A vitima %s foi morta.", PlayerName(playerid));
SendClientMessageToAll(COR_AZTECAS, Texto);
return 1;
}
return 1;
}
C:\Users\Nihil\Desktop\BRA.pwn(12075) : error 012: invalid function call, not a valid address
C:\Users\Nihil\Desktop\BRA.pwn(12075) : warning 215: expression has no effect
C:\Users\Nihil\Desktop\BRA.pwn(12075) : error 001: expected token: ";", but found ")"
C:\Users\Nihil\Desktop\BRA.pwn(12075) : error 029: invalid expression, assumed zero
C:\Users\Nihil\Desktop\BRA.pwn(12075) : 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.
if(Sequestrado(playerid) == 1)
{
new Texto[80];
format(Texto,80,"Fim de Sequestro. A vitima %s foi morta.", PlayerName(playerid));
SendClientMessageToAll(COR_AZTECAS, Texto);
return 1;
}
if(Sequestrado[playerid] == 1)
{
new Texto[80];
format(Texto,sizeof Texto,"Fim de Sequestro. A vitima %s foi morta.", PlayerName(playerid));
SendClientMessageToAll(COR_AZTECAS, Texto);
return 1;
}