Raised This Month: $ Target: $400
 0% 

[HELP] Last human and cost item


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hiyono
Junior Member
Join Date: Feb 2010
Old 02-09-2010 , 07:09   [HELP] Last human and cost item
Reply With Quote #1

I`m new member in this forum. I want to ask something about ammopacks. How to change ammopack by CS Money ?? Every extra item is bought by CS money in server....... and how to edit zombie_plague.sma that make last human can be infected by zombie --> zombie win ....

P/S: Sorry for my bad English ( if i wrong something )
Hiyono is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 02-09-2010 , 11:54   Re: [HELP] Last human and cost item
Reply With Quote #2

zp_remove_money 0


zp_get_user_ammo_packs
zp_set_user_ammo_packs

to:
cs_get_user_money
cs_set_user_money
rsdtt is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 02-09-2010 , 15:38   Re: [HELP] Last human and cost item
Reply With Quote #3

Quote:
Originally Posted by Hiyono View Post
how to edit zombie_plague.sma that make last human can be infected by zombie --> zombie win ....
Open zombie_plague40.sma(with notepad) and find this line
Quote:
Originally Posted by zombie_plague40.sma
// Last human or not an infection round
if (g_survround || g_nemround || g_swarmround || g_plagueround || fnGetHumans() == 1)
return HAM_IGNORED; // human is killed
and replace it with
Code:
// Last human or not an infection round
    if (g_survround || g_nemround || g_swarmround || g_plagueround)
        return HAM_IGNORED; // human is killed
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Hiyono
Junior Member
Join Date: Feb 2010
Old 02-09-2010 , 22:57   Re: [HELP] Last human and cost item
Reply With Quote #4

Thank NiHiLanth too much
Hiyono 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 14:26.


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