05.03.2009, 18:22
And if MainHallEnter and MainHallExit are declared like this:
then on these lines you are doing:
..
solution, declare 2 other variables, like
and then assign them to the CreatePickups
and finally
voila
pawn Код:
#define MainHallEnter xxxx.xx, yyyy.yy, zzzz.zz
#define MainHallExit xxxx.xx, yyyy.yy, zzzz.zz
pawn Код:
if(pickupid == xxxx.xx, yyyy.yy, zzzz.zz)
solution, declare 2 other variables, like
pawn Код:
new MainHallEnter_PickupId;
new MainHallExit_PickupId;
pawn Код:
MainHallEnter_PickupId = CreatePickup(1318,23,MainHallEnter);
MainHallExit_PickupId = CreatePickup(1318,23,MainHallExit);
pawn Код:
if (pickupid == MainHallEnter_PickupId)