|
Senior Member
Join Date: Aug 2013
Location: Brazil
|
03-22-2014
, 15:17
Re: [ZP] Extra Item: Paintball Gun
|
#6
|
Quote:
Originally Posted by ghostz0r
Perfect Scrash , how?!???
|
Read the tutorial I used a website:
Quote:
In this tutorial , I will show how the leaves Hud Zombie Plague With More Information How : Show Mode being performed , Vest , speed , Frags ....
Requirements : Sma From Zombie Plague 4.3/Advance
1. Open the Sma and the Zombie Plague From Below :
CODE :
Code:
/ * ============================================= ===================================
[ Constants , Offsets , Macros ]
================================================== =============================== * /
Put Down :
CODE :
Code:
new g_Mode
new const mode_names [ ] [ ] =
{
" T -Virus Unleashed ! "
" Mode : Infection " ,
" Mode : Nemesis "
" Mode : Assassin " // If is Advance version
" Mode : Survivor"
" Mode : Sniper " // If is Advance version
" Mode : Swarm "
" Mode : Multi - Infection "
" Mode : Plague "
" Mode : Armageddon " // If is Advance version
" Mode : Undefined "
}
2. At The End Of Codes From The Sma Zombie Plague Place .:
CODE :
Code:
public zp_round_started (mode , id)
{
// Var Update Mode with a
mode = g_Mode
// An unofficial mode
if ( ( 1 < = mode < ( sizeof ( mode_names ) - 1 ) ) )
g_Mode = sizeof ( mode_names ) - 1
}
public event_RoundStart ( )
{
// Update var ( in mode started / in delay)
g_Mode = 0
}
3. Now Look For :
CODE :
Code:
// Show health , class and ammo packs
Replace:
CODE :
Code:
ShowSyncHudMsg ( ID_SHOWHUD , g_MsgSync2 , " % L : % d - % s % L - % d % L " , id, " ZOMBIE_ATTRIB1 " , pev ( ID_SHOWHUD , pev_health ) , ID_SHOWHUD , " CLASS_CLASS " class , ID_SHOWHUD , " AMMO_PACKS1 " g_ammopacks [ ID_SHOWHUD ] )
For This :
CODE :
Code:
ShowSyncHudMsg ( ID_SHOWHUD , g_MsgSync2 , " [ % L : % d ] ^ n [ % L % s ] ^ n [ % L % d ] ^ n [ Collect : % i ] ^ n [ Kills : % d ] ^ n [ Frags : % i ] ^ n [ speed : % d ] ^ n [ % s ] " , id, " ZOMBIE_ATTRIB1 " , pev ( ID_SHOWHUD , pev_health ) , ID_SHOWHUD , " CLASS_CLASS " class , ID_SHOWHUD , " AMMO_PACKS1 " g_ammopacks [ ID_SHOWHUD ] , get_user_armor (id ) , get_user_deaths (id ) , get_user_frags (id ) , fm_get_speed (id ) , mode_names [ g_Mode ] ) ;
Credits: . Leonel
|
Later I search of the ZP 5.0 version
|
|
|
|