26.11.2011, 19:59
pawn Код:
#define MoneyBagDelay(%1,%2,%3,%4) (%1*3600000)+(%2*60000)+(%3*1000)+%4
#define MoneyBagDelay(%1,%2,%3,%4) (%1*3600000)+(%2*60000)+(%3*1000)+%4
10800000
#define MoneyBagDelay(%1,%2,%3,%4) (%1*10800000)+(%2*60000)+(%3*1000)+%4
Hello,
I guess this is 3 hours, I don't know what you enter into MoneyBagDelay, but try: pawn Код:
Looking at the code, %1 is how many hours? |
//Hours, Minutes, Seconds, Milliseconds
#define MoneyBagDelay(%1,%2,%3,%4) (%1*3600000)+(%2*60000)+(%3*1000)+%4
SetMoneyBagDelay(moneybagid, MoneyBagDelay(3, 0, 0, 0));