yeah I'm sure I may be making it more complicated then it needs to be. I always do that. Thank you for the reply.
However,
I guess I misled a little.. There are many more sums then just value1 and value2. Depending on certain conditions the player may need to subtract 32 from another variable, 33 from a completely different variable..
In other words I need to know how to
do a calculation (which is different depending on conditions.)
for example;
Code:
if(stats[0] >= 100 && stats[0] <= 150)
{
PlayerRank[id] = RANK_1
}
then also subtract "stats[0]" from RANK_2, store that sum as sum[variable[id]].
then call that stored number in a client_print
Code:
client_print(id,print_chat, "%d", sum[variable[id]]);
get what I"m saying? or am I completely missing something?
Quote:
Originally Posted by XxAvalanchexX
|
yeah I look through that quite often. It's hard to find what I need not knowing anything to begin with.(vocab / terminology) Got any keywords I should search for in there?
All I know is what a plugin needs to do to get something done.
As always i will be looking through that and trying stuff when waiting for reply's.