29.06.2018, 01:58
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.
I need help AS FAST AS POSSIBLE. I don't need a bad comment nor disclaimers.
Код:
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); } } } } }