Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Extra Item: Paintball Gun


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 03-16-2014 , 20:47   [ZP] Extra Item: Paintball Gun
Reply With Quote #1

[ZP] Extra Item: Paintball Gun


Description:
Hit Ink with Paintball Gun on top of zombies


Cvar's
Code:
"zp_paintball_maxballs" - Max ink Entities
"zp_paintball_lifetime" - Time For Remove ink Entities
"zp_paintball_dmg_multi" - Damage Multi with Paintball Gun
"zp_paintball_unlimited_clip" - Set's a Unlimited Clip With Paintball Gun

Module Requeriments:
amxmodx
engine
fakemeta
hamsandwich


Screenshot:


Changelog:
Quote:
1.0:
* First Release

1.1:
* Fixed Error logs
* Added Version for Zombie Plague Special
Plugin Idea:
https://forums.alliedmods.net/showth...69582?p=569582
https://forums.alliedmods.net/showth...18965?p=418965
Attached Files
File Type: zip resource.zip (452.1 KB, 621 views)
File Type: sma Get Plugin or Get Source (zp_extra_paintball_gun.sma - 1215 views - 9.2 KB)
File Type: sma Get Plugin or Get Source (zpsp_extra_paintball_gun.sma - 857 views - 9.3 KB)
__________________

Last edited by Perfect Scrash; 09-04-2015 at 15:38. Reason: Update
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 03-17-2014 , 01:19   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #2

gj looks funny, I'll test later...

Last edited by wicho; 03-17-2014 at 01:19.
wicho is offline
K4rim
Senior Member
Join Date: Oct 2013
Location: Malaysia
Old 03-17-2014 , 13:14   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #3

cooool bro,thanx for share
K4rim is offline
arashpour
Junior Member
Join Date: Aug 2009
Old 03-19-2014 , 04:55   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #4

does it work with ZP 5.0?
arashpour is offline
ghostz0r
Senior Member
Join Date: Dec 2012
Old 03-22-2014 , 08:31   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #5

Perfect Scrash , how?!???
ghostz0r is offline
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 03-22-2014 , 15:17   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #6

Quote:
Originally Posted by ghostz0r View Post
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
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
ghostz0r
Senior Member
Join Date: Dec 2012
Old 03-23-2014 , 05:12   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #7

Perfect Scrash , please view this , i did everything as described , plugin don't compile help
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague40.sma - 306 views - 339.1 KB)
ghostz0r is offline
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 03-23-2014 , 12:32   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #8

Quote:
Originally Posted by ghostz0r View Post
Perfect Scrash , please view this , i did everything as described , plugin don't compile help
Al sees if it works now
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague40.sma - 1018 views - 338.6 KB)
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
ghostz0r
Senior Member
Join Date: Dec 2012
Old 03-23-2014 , 14:11   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #9

Perfect Scrash , big thanks bro!
ghostz0r is offline
mtsla
Junior Member
Join Date: Mar 2014
Old 03-24-2014 , 16:15   Re: [ZP] Extra Item: Paintball Gun
Reply With Quote #10

Perfect Scrash Scripter super fucking
mtsla is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode