Skip to content

Commit

Permalink
Updated List of natives for MarkNativeAsOptional
Browse files Browse the repository at this point in the history
  • Loading branch information
xerox8521 committed Feb 18, 2022
1 parent d928254 commit 41b01b3
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion include/zpsutil.inc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ native int GetRandomTeamPlayer(int iTeamIndex, bool bAlive);
native int GetRandomCarrier(bool bAlive);
native int GetWinCount(bool Survivors); // Confirm the bool meaning
native int GetZombieLives();

native int GetRandomPlayer(bool bAlive);
// Given a client returns the best carrier that is currently using roar.
native int GetBestRoaringCarrier(int client);
Expand Down Expand Up @@ -295,6 +294,24 @@ public void __pl_zpsutil_SetNTVOptional()
MarkNativeAsOptional("GetZombieLives");
MarkNativeAsOptional("CreateFragGrenade");
MarkNativeAsOptional("DetonateGrenade");
MarkNativeAsOptional("DropAllWeapons");
MarkNativeAsOptional("IsAwayFromKeyboard");
MarkNativeAsOptional("IsInPanic");
MarkNativeAsOptional("IsGagged");
MarkNativeAsOptional("IsMuted");
MarkNativeAsOptional("RespawnPlayer");
MarkNativeAsOptional("PlayMusic");
MarkNativeAsOptional("HasPlayerNamedItem");
MarkNativeAsOptional("CleanupMap");
MarkNativeAsOptional("SetIntermission");
MarkNativeAsOptional("GetRandomPlayer");
MarkNativeAsOptional("GetBestRoaringCarrier");
MarkNativeAsOptional("IsInTestMode");
MarkNativeAsOptional("IsWarmup");
MarkNativeAsOptional("IsRoundOngoing");
MarkNativeAsOptional("GetMeleeWeaponRange");
MarkNativeAsOptional("IsChristmas");
MarkNativeAsOptional("IsHalloween");
}
#endif

0 comments on commit 41b01b3

Please sign in to comment.