[Pedido] Script Lag Na Skin
#1

Queria que alguйm upasse esse script pra min, sempre que vou compilar ele no pawno da erro, й alguma coisa errado com meu pawno entгo queria que alguem compilasse pra min e upasse em algum site.

Alguйm me ajuda por favor
Reply
#2

Nem um pouco folgado hein ¬¬
Posta o code que vc encontrou.
Reply
#3

public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
new Float:Life, Float:Colete, Floatano;
GetPlayerArmour(damagedid, Colete);
GetPlayerHealth(damagedid, Life);
amount = amount/2;
if(Colete > 0)
{
if(amount > Colete)
{
Dano = amount - Colete;
Life = Life - Dano;
SetPlayerArmour(damagedid, 3.0);
SetPlayerHealth(damagedid, Life);
return 1;
}
else
{
Colete = Colete - amount;
}
SetPlayerArmour(damagedid, Colete);
}
else
{
Life = Life - amount;
SetPlayerHealth(damagedid, Life);
}
return 1;
}
Reply
#4

Alguem ajuda?
Reply
#5

quais sгo os erros e linhas..
e quando for posta um code de pawn coloca no cmз do code [pawn] final [*/pawn] sem o *
Reply
#6

Dб esses erros:

pawn Код:
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(4) : error 017: undefined symbol "GetPlayerArmour"
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(5) : error 017: undefined symbol "GetPlayerHealth"
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(6) : warning 213: tag mismatch
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(12) : error 017: undefined symbol "SetPlayerArmour"
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(13) : error 017: undefined symbol "SetPlayerHealth"
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(17) : error 017: undefined symbol "SetPlayerArmour"
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(19) : warning 213: tag mismatch
C:\Documents and Settings\Administrador\Desktop\SA-MP\Server\pawno\no lag.pwn(22) : error 017: undefined symbol "SetPlayerHealth"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)