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

[ZP]Addons : Presents 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BillThailandUP
Member
Join Date: Jul 2010
Location: Thailand [Bangkok]
Old 08-26-2010 , 10:27   [ZP]Addons : Presents 1.1
Reply With Quote #1

This plugins same Presents in CSO-NST 70%, when i have idea i will add sprites to present.

I will make same this https://forums.alliedmods.net/showthread.php?t=131291

cvar:
zp_ps_present_glow 1
zp_ps_present_light 1
zp_ps_present_light_radius 8
zp_ps_present_rotate 1
zp_ps_spawn_presents_time 30.0
zp_ps_min_spawn_presents 5
zp_ps_max_spawn_presents 5
zp_ps_present_ammo_pack_value 1
zp_ps_present_armour_value 10
zp_ps_present_human_health_value 20
zp_ps_present_zombie_health_value 100


command:
zp_ps_spawn // Add spawn on present. + anto save.
zp_ps_remove // Remove all spawn.
zp_ps_stop // Stop spawn a present.
zp_ps_start // Load spawn file or start spawn present.

File save "addons/amxmodx/configs/presents/mapname.ini
Attached Files
File Type: zip zp_presents1.1.zip (269.0 KB, 2414 views)
File Type: sma Get Plugin or Get Source (zp_addons_presents.sma - 2869 views - 16.7 KB)
__________________
คนไทยเก่งเว้ย
BillThailandUP is offline
Send a message via MSN to BillThailandUP
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-26-2010 , 10:38   Re: [ZP]Addons : Presents 1.1
Reply With Quote #2

If i get time i will post my version alot of more fixes ^^
Vechta is offline
Dare-Devil
BANNED
Join Date: Apr 2010
Location: Estonian , Tartu
Old 08-26-2010 , 10:40   Re: [ZP]Addons : Presents 1.1
Reply With Quote #3

good work! I'm thinking that I am going to need it ...
Dare-Devil is offline
Send a message via MSN to Dare-Devil
BillThailandUP
Member
Join Date: Jul 2010
Location: Thailand [Bangkok]
Old 08-26-2010 , 10:51   Re: [ZP]Addons : Presents 1.1
Reply With Quote #4

i forgot how to get ammo for weapon.
__________________
คนไทยเก่งเว้ย
BillThailandUP is offline
Send a message via MSN to BillThailandUP
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-26-2010 , 10:54   Re: [ZP]Addons : Presents 1.1
Reply With Quote #5

Quote:
Originally Posted by BillThailandUP View Post
i forgot how to get ammo for weapon.
Forget and don't know are 2 diffrerent words..

Code:
 cs_set_user_bpammo(id, CSW_WEAPON, AMOUNT)
Vechta is offline
BillThailandUP
Member
Join Date: Jul 2010
Location: Thailand [Bangkok]
Old 08-26-2010 , 11:01   Re: [ZP]Addons : Presents 1.1
Reply With Quote #6

ok nothing.i chang zp_human_unlimited_ammo 0 i want to get ammo.
i have bpammo m4a1 40 , i want to add it is 70 but is 30.cs_set_user_bpammo(id, CSW_M4A1, 30)
i want to positive ammo not chang.
__________________
คนไทยเก่งเว้ย

Last edited by BillThailandUP; 08-27-2010 at 06:04.
BillThailandUP is offline
Send a message via MSN to BillThailandUP
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 08-26-2010 , 11:33   Re: [ZP]Addons : Presents 1.1
Reply With Quote #7

I think it's item_ammo..
__________________
albert123 is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-26-2010 , 11:34   Re: [ZP]Addons : Presents 1.1
Reply With Quote #8

Dude, what do you want now?
Vechta is offline
BillThailandUP
Member
Join Date: Jul 2010
Location: Thailand [Bangkok]
Old 08-27-2010 , 05:53   Re: [ZP]Addons : Presents 1.1
Reply With Quote #9

how i can positive bpammo. (zp_human_unlimited_ammo 0)
__________________
คนไทยเก่งเว้ย

Last edited by BillThailandUP; 08-27-2010 at 06:05.
BillThailandUP is offline
Send a message via MSN to BillThailandUP
jantore
Junior Member
Join Date: Oct 2009
Old 08-30-2010 , 02:30   Re: [ZP]Addons : Presents 1.1
Reply With Quote #10

When I want a lot of presents max spawn 40, min 30, they spawn into exists boxes, when I grab these, I saw in 1 box 6 boxes
jantore 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 18:27.


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