07.09.2014, 13:54
Quote:
And I have to divide that equally depending on how many countries they have listed.
|
something like...
pawn Код:
//in your explor dialog
new amount;//that's the export thing initialized by players
countries[playerid];//the number of countries, 15 for example
//now we just do something like
new Float:result = amount / countries[playerid];
//result now holds the amount every country should get
well, not 100% sure if that's what you wanted, since it's that simple.