Raised This Month: $ Target: $400
 0% 

Setting Players Cash?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 06-02-2007 , 16:39   Re: Setting Players Cash?
Reply With Quote #4

Quote:
Originally Posted by sumguy14 View Post
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.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
 



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 21:52.


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