Help Me With This
#1

Can anyone help me with this codes? There must be a Text shows "Hero Field" and Remove Weapons on Zombies when it hits that Advanced Hero near that Advanced Hero.

Код:
if(team[issuerid] == TEAM_HUMAN)
{
	if(pInfo[issuerid][pHumanClass] == ADVANCEDHERO)
	{
		if(team[playerid] == TEAM_ZOMBIE)
		{
			new Float:x, Float:y, Float:z;
			GetPlayerPos(issuerid, Float:x, Float:y, Float:z);
			if(IsPlayerInRangeOfPoint(playerid, 3.0, Float:x, Float:y, Float:z))
			{
				if(weaponid == 9)
				{
					GameTextForPlayer(playerid, "~g~Hero Field", 1000, 3);
					ResetPlayerWeapons(playerid);
				}
			}
		}
	}
}
I need help AS FAST AS POSSIBLE. I don't need a bad comment nor disclaimers.
Reply


Messages In This Thread
Help Me With This - by Istrator - 29.06.2018, 01:58
Re: Help Me With This - by Sasino97 - 29.06.2018, 14:48
Re: Help Me With This - by Istrator - 30.06.2018, 03:52

Forum Jump:


Users browsing this thread: 1 Guest(s)