[Ajuda] Dano ao Player
#1

Intгo to querendo fazer que o dano do player tenho um intervelo de 30 segundo para parece o proximo dano nele, Quando atiro no player ai aparece varias vezes esse dano to querendo colocar em 30 segundo.



PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponid)
{
if(
issuerid != INVALID_PLAYER_ID// If not self-inflicted
{
new
plid,
infoString[128],
weaponName[24],
victimName[MAX_PLAYER_NAME],
attackerName[MAX_PLAYER_NAME];
GetPlayerName(playeridvictimNamesizeof (victimName));
GetPlayerName(issueridattackerNamesizeof (attackerName));
GetWeaponName(weaponidweaponNamesizeof (weaponName));
format(infoStringsizeof(infoString), "» %s feriu %s com um(a) %s e rancou dele %.0f de vida. "attackerNamevictimNameweaponNameamount);
SendClientMessage(playerid,  brancoinfoString);
format(infoStringsizeof(infoString), "» %s feriu %s com um(a) %s e rancou dele %.0f de vida. "attackerNamevictimNameweaponNameamount);
SendClientMessage(plidbrancoinfoString);
}
return 
1;

Reply


Messages In This Thread
Dano ao Player - by powerths - 28.09.2013, 15:33
Re: Dano ao Player - by Locky_ - 28.09.2013, 16:10
Re: Dano ao Player - by powerths - 28.09.2013, 16:22
Re: Dano ao Player - by powerths - 28.09.2013, 18:02
Re: Dano ao Player - by Locky_ - 28.09.2013, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)