27.12.2012, 03:24
(
Last edited by Jumper.; 10/10/2013 at 08:48 PM.
Reason: ATUALIZANDO BUGS
)
Nome do FilterScript:
LT HitMarker
Descriзгo:
Й um hitmarker, ou seja, funciona quando vocк tira dano de outro player, confira no Vнdeo
Change Log:
Code:
v1.0(27/12/2012) Lanзamento. v1.1(28/12/2012) Correзгo de Bugs apontados por usuбrios. v1.3(12/06/2013) Otimizaзгo e Correзгo de Bugs.
Video do FS:
[ame]http://www.youtube.com/watch?v=MZHf9dMGi2w[/ame]
Autor:
Lucas Totola, Shadow_ (inspiraзгo)
Download:
pawn Code:
//-------------------------------------------------------------------------------//
//--------------------O MENOR FILTERSCRIPT DO MUNDO------------------------------//
//--------------------HITMARKER CRIADO POR: LUCASTOTOLA--------------------------//
//-------------------------------------------------------------------------------//
#include <a_samp>
new Text:Acertou[MAX_PLAYERS];
new tempohit;
public OnFilterScriptInit()
{
Acertou[playerid] = TextDrawCreate(334.500000, 173.600000, "X");
TextDrawBackgroundColor(Acertou[playerid], 255);
TextDrawFont(Acertou[playerid], 2);
TextDrawLetterSize(Acertou[playerid], 0.500000, 1.000000);
TextDrawColor(Acertou[playerid], -1);
TextDrawSetOutline(Acertou[playerid], 1);
TextDrawSetProportional(Acertou[playerid], 1);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawHideForPlayer(playerid, Acertou[playerid]);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, Acertou[playerid]);
return 1;
}
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
TextDrawShowForPlayer(playerid, Acertou[playerid]);
tempohit = SetTimerEx("TirarMark", 150, false, "i" playerid);
return 1;
}
forward TirarMark(playerid);
public TirarMark(playerid)
{
TextDrawHideForPlayer(playerid, Acertou[playerid]);
return 1;
}
Bug's?
Se Tiver algum Bug, me avise, vou arrumar imediatamente