SA-MP Forums Archive
[Pedido] Script Lag Na Skin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Script Lag Na Skin (/showthread.php?tid=394930)



Script Lag Na Skin - Rezinho_Souza - 24.11.2012

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



Re: Script Lag Na Skin - Kuddy - 24.11.2012

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


Re: Script Lag Na Skin - Rezinho_Souza - 24.11.2012

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;
}


Re: Script Lag Na Skin - Rezinho_Souza - 24.11.2012

Alguem ajuda?


Re: Script Lag Na Skin - Zona_Sky - 24.11.2012

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 *


Re: Script Lag Na Skin - Rezinho_Souza - 24.11.2012

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.