Quote:
Originally Posted by sumguy14
Thank you very much.
Sorry about posting in the wrong place
I don't see any "Scripting Help" I see a "scripting" section, is that what your are talking about?
I'm guessing GetEntData will allow me to get a player's cash.
Thanks
EDIT: A few questions:
1.
a. Whats is that " _"
b. Why "16000" in entity.inc, it says valid values are 1,2, or 4 is for the 4 parameter stating.
Yeah that's it.
|
Scripting section is the scripting help section I was talking about.
a. " _ " mean use default value. That only works if the natives have (what = 1);
b. You are reading the wrong parameter for that. 1, 2, 4 is for the 4th parameter in Set/GetEntData.
The 3rd parameter is the value you want to set on m_iAccount to change their money.
Yes, GetEntData will let you get their money.
__________________