Raised This Month: $ Target: $400
 0% 

Scripting Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MadSon
New Member
Join Date: Oct 2013
Old 01-11-2015 , 03:52   Scripting Help
Reply With Quote #1

So I have this function:
Code:
SetProperty(ent, property, const property_value[]) {
//...
}
So I have another function which creates the entity and sets the property for it using SetProperty, now I want to increment the property value by 1 each time the entity function is called, so how could I do that?

Code:
SetProperty(ent, 1, property); // property ++
MadSon is offline
 


Thread Tools
Display Modes

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


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