[AJUDA]Dano Arma
#5

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Dark , com esse OnPlayerTakeDamage , hб possibilidade de aumentar o dano de armamentos em Teleportes especificos ?
pawn Код:
#include a_samp

new LastTelerpot[MAX_PLAYERS][128];

public OnPlayerCommandText(playerid, cmdtext[])
{
    format(LastTelerpot[playerid], 128,"%s", cmdtext); // topo do OnPlayerCommandText
    return false;
}



public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(weaponid == ID_SNIPER &&
        !strcmp(LastTelerpot[playerid], "/Sniper", true))
    {
        SetPlayerHealth(issuerid, 0);
    }
    return 0;
}
Reply


Messages In This Thread
[AJUDA]Dano Arma - by Manoloww - 26.03.2012, 22:54
Re: [AJUDA]Dano Arma - by Ricop522 - 26.03.2012, 23:05
Re: [AJUDA]Dano Arma - by DarkScripter - 26.03.2012, 23:05
Re: [AJUDA]Dano Arma - by .FuneraL. - 26.03.2012, 23:36
Re: [AJUDA]Dano Arma - by DarkScripter - 26.03.2012, 23:41

Forum Jump:


Users browsing this thread: 2 Guest(s)