[Ajuda] Driver-By !
#3

Tambйm podes usar isto , nгo resolve mas ajuda um pouco !

Retira a arma a quem estб a fazer DB e nao causa dano ao player que sofre o DB....

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{

if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && GetPlayerState(issuerid) == PLAYER_STATE_DRIVER)
	   {
              new Float:armour;
              new Float:hp;
	    GetPlayerHealth(playerid, hp);
              GetPlayerArmour(playerid, armour);
              SetPlayerArmour(playerid,armour);
              SetPlayerHealth(playerid,hp);
              SetPlayerArmedWeapon(issuerid, 0);
	    }
return 1;
}
Reply


Messages In This Thread
[Ajuda] Driver-By ! - by Mercurio - 11.02.2012, 21:34
Re: [Ajuda] Driver-By ! - by Dolby - 11.02.2012, 21:57
Re: [Ajuda] Driver-By ! - by telmo_ferreira - 12.02.2012, 00:25
Re: [Ajuda] Driver-By ! - by andrecvv - 12.02.2012, 04:28
Re: [Ajuda] Driver-By ! - by xxXYagoXxx - 12.05.2013, 00:55

Forum Jump:


Users browsing this thread: 1 Guest(s)