SRCDS Steam group


16k Cash on CSS server.
#1
So, we're trying to figure out how to give certain players 16k cash at all times. Possibly thinking of having donators and so forth.

We ran across THIS as a reference.


My questions is, could someone explain "(userid) "CCSPlayer.m_iAccount"" this part of the script for me?


any help would be nice! thanks!!
Reply
#2
Still need help?
Reply
#3
yea. lol still love to get this working!

Ideas?
Reply
#4
I know they have an addon for event scripts.
Might want to have a look on their website give it a try.
I think I seen a 16k script on their site a month or so ago.
Reply
#5
yes, this is it....

But I dont understand what the code means and how to use it properly.


Code:
es_setplayerprop <userid> <propertypath> <value>
Sets a server class property for the given entity (at index). Use with caution.
Code:
// sets a CS:S player's cash
es_setplayerprop event_var(userid) CCSPlayer.m_iAccount 16000


userid I am assuming is Steam ID, what is prepertypath?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)