-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87229d5
commit d5a3edd
Showing
12 changed files
with
1,049 additions
and
526 deletions.
There are no files selected for viewing
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
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
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,24 @@ | ||
; ========================================================= | ||
; * || Zombie Plague Special 4.5 Human Classes File || * | ||
; ========================================================= | ||
; | ||
; Any changes you make here will be | ||
; automatically loaded at map start | ||
; | ||
; This file will be automatically updated with new | ||
; editable entries as you install new human classes. | ||
|
||
; Example: | ||
; [Classic] // Section Name (Dont Change) | ||
; NAME = Classic // Class name | ||
; INFO = -=Balanced=- // Class Description | ||
; HEALTH = 300 // Class Health (0 - For default human health by cvar) | ||
; ARMOR = 0 // Class Armor | ||
; SPEED = 0 // Class Speed (0 - For default human speed by cvar) | ||
; GRAVITY = 0.8 // Class Gravity (0.0 - For default human gravity by cvar) | ||
; MODELS = sas // Class model | ||
; BODY = 0 // Model Bodygroup | ||
; SKIN = 0 // Model Skin textures | ||
; USE LANG = 0 // Enable Lang for Class Name and Class Description | ||
; NAME LANG KEY = ITEM_LANG_DEFAULT_KEY // Lang Key for Class Name | ||
; INFO LANG KEY = ITEM_LANG_DEFAULT_KEY // Lang Key for Class Description |
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
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
25 changes: 25 additions & 0 deletions
25
addons/amxmodx/scripting/examples/zpsp_test_hud_natives.sma
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,25 @@ | ||
#include <amxmodx> | ||
#include <zombie_plague_special> | ||
|
||
public plugin_init() { | ||
register_plugin("[ZPSp] Test Hud Natives", "1.0", "Perf. Scrash"); | ||
} | ||
public zp_player_show_hud(id, target, SpHudType:hudtype) { | ||
if(target) { | ||
zp_add_hud_text("- Spec Hud") | ||
return; | ||
} | ||
if(!is_user_alive(id)) | ||
return; | ||
|
||
if(hudtype == HUD_DEFAULT) | ||
zp_add_hud_text("^n[Hud Default]") | ||
else if(hudtype == HUD_CLASSIC) | ||
zp_add_hud_text("- Hud Classic") | ||
else if(hudtype == HUD_ANTRAX_STYLE || hudtype == HUD_CENTER_ANTRAX) | ||
zp_add_hud_text("^n[Hud AntRax]") | ||
else | ||
zp_add_hud_text("^n[Any other HUD]") | ||
|
||
zp_add_hud_text("^n[Concat Test]") | ||
} |
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
Oops, something went wrong.