-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spawn_infected_nolimit v1.0h
- Loading branch information
Showing
4 changed files
with
59 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
spawn_infected_nolimit/scripting/include/spawn_infected_nolimit.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#if defined _spawn_infected_nolimit_included_ | ||
#endinput | ||
#endif | ||
#define _spawn_infected_nolimit_included_ | ||
|
||
/** | ||
* @brief Spawn special infected without the director limits! | ||
* | ||
* @param zomb S.I. Name: "tank", "smoker", "hunter", "boomer"," jockey", "charger", "spitter", "witch", "witch_bride" | ||
* @param vecPos Vector coordinate where the special will be spawned | ||
* @param vecAng QAngle where special will be facing | ||
* | ||
* @return client index of the spawned special infected, -1 if fail to spawn | ||
*/ | ||
native int NoLimit_CreateInfected(const char[] zomb, const float vecPos[3], const float vecAng[3]); | ||
|
||
public SharedPlugin __pl_spawn_infected_nolimit = | ||
{ | ||
name = "spawn_infected_nolimit", | ||
file = "spawn_infected_nolimit.smx", | ||
#if defined REQUIRE_PLUGIN | ||
required = 1, | ||
#else | ||
required = 0, | ||
#endif | ||
}; | ||
|
||
#if !defined REQUIRE_PLUGIN | ||
public void __pl_spawn_infected_nolimit_SetNTVOptional() | ||
{ | ||
MarkNativeAsOptional("NoLimit_CreateInfected"); | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters