SRCDS Steam group


Cash Help!
#1
I want to make my server so that every round to restart when one team winning the money resets to 16000 each and every time.
help please.
Reply
#2
their is probably a script for eventscripts if not you could easily make your own
~ trewq
Reply
#3
Okay if there isnt how could i cash reserve the players?
Reply
#4
make your own script?
~ trewq
Reply
#5
lol i dont know how
Reply
#6
its easy just look at some of the examples and give it a go
I would do it for you but I dont have the server installed atm
~ trewq
Reply
#7
Eventsctipts is incredibly easy to learn but just ask at their forums if there is a script that does what you need.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#8
ugh i still cant find how to cash reserve or script to reset round to 16000 everytime.
=P
Reply
#9
You need a script, who sets all players moneys to 16000 every round?


Code:
event player_spawn
{
    es_setplayerprop event_var(userid) CCSPlayer.m_iAccount 16000
    // es_msg #multi Congraz. #lightgreenevent_var(userid)#default - Your cash has been set to #green 16000
    // Remove the "//" to add the text.
    // Post this in a .txt document, called eg. es_kanin.txt
    // - Realchamp
}
Reply
#10
See, easy enough Smile
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#11
Spartanfrog Wrote:See, easy enough Smile

To easy Big Grin Toungue
Reply
#12
Thnx! =D lol
Reply
#13
but what do i put this as in event script?
Reply
#14
Just copy it to a text file and name it what realchamp said, then install it like any other eventscript mod.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#15
vietbound11 Wrote:but what do i put this as in event script?

You'll have to put it in a folder in this location:

cstrike/addons/eventscripts/kanin/es_kanin.txt

and in the .txt file you have to put this in:


Code:
event player_spawn
{
    es_setplayerprop event_var(userid) CCSPlayer.m_iAccount 16000
    // es_msg #multi Congraz. #lightgreenevent_var(userid)#default - Your cash has been set to #green 16000
    // Remove the "//" to add the text.
    // Post this in a .txt document, called eg. es_kanin.txt
    // - Realchamp

and then open up your autoexec.cfg, and add this line:

es_load kanin

and change map or restart the server, then it should work.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)