Help me thanks..
#1

Код:
if(isInPaintball(playerid) || IsPlayerInEvent(playerid)) {
I want to use that code.. if player is in paintball or an event.. then this function TrytoApplyHurt don't work..

Код:
tryToApplyHurt(damagedid, wepid, Float:health, Float:armour) {
	#pragma unused health
	if(armour < 34.0) {
		if(WeaponDamage[wepid][EDamageWeaponType] != EDamageType_Melee) {
			setPlayerHurt(damagedid, wepid);
		}
	}
	return 1;
}
or if in PVAR then
Код:
SetPVarInt(damagedid, "DownOnGround", 1);
this PVAR don't work if player is in paintball or event thanks.
Reply


Messages In This Thread
Help me thanks.. - by Puff - 24.08.2017, 11:59
Re: Help me thanks.. - by thegamer355 - 24.08.2017, 12:23
Re: Help me thanks.. - by Puff - 24.08.2017, 13:35
Re: Help me thanks.. - by Puff - 24.08.2017, 13:38
Re: Help me thanks.. - by thegamer355 - 24.08.2017, 13:51
Re: Help me thanks.. - by Puff - 30.08.2017, 03:41

Forum Jump:


Users browsing this thread: 2 Guest(s)