17.07.2016, 10:06
In CreateZombieForPlayer function, replace:
with
---
with
Last, declare the variable along with "str":
---
It will add only the amount of zombies were created.
pawn Код:
ZombieForPlayerID[playerid][i] = FCNPC_Create(str);
pawn Код:
if ((ZombieForPlayerID[playerid][i] = FCNPC_Create(str)) == INVALID_ENTITY_ID) break;
ZombiesCountForPlayer++;
pawn Код:
ZombiesAlive += MAX_ZOMBIE_FOR_PLAYER;
pawn Код:
ZombiesAlive += ZombiesCountForPlayer;
pawn Код:
new str[128], ZombiesCountForPlayer;
It will add only the amount of zombies were created.