29.12.2011, 09:09
(
Последний раз редактировалось KoczkaHUN; 29.12.2011 в 09:10.
Причина: added some syntax highlight magic thingy :)
)
Why not capitalizing V? Like DecreasePVar.
And if we have DecreasePVar, we could have IncreasePVar as well:
And if we have DecreasePVar, we could have IncreasePVar as well:
pawn Код:
#define IncreasePVar(%0,%1,%2) SetPVarInt(%0, %1, GetPVarInt(%0, %1) + %2)
#define DecreasePVar(%0,%1,%2) IncreasePVar(%0, %1, -(%2))