AddStaticPickup in 24-7
#1

I'm remaking my script and replacing checkpoints with pickups so don't need to use isplayerinarea.

It all works perfect except when adding static pickup in 24-7's. The pickup will show up fine first time go into any of the 24-7's but next time go into same or any other 24-7 there is no pickup and won't be till I restart gamemode again.

i simply AddStaticPickup(1318,23,-23.3804,-54.9093,1003.5469); // 24-7 under OnGameModeInit

All other pickups works. I have them in other interiors too with no problem.

Anyone have a clue? I'm scratching my head.....


Reply
#2

forgot to mention only got 18 pickups at moment so can't be it exceeds the limit whatever limit is
Reply
#3

the type are all the same.

need to have isplayerinarea to set new checkpoints as I can only have 1 checkpoint at the time. but that's not the issue.



Reply
#4

Use CreatePickup... in OnPlayerInteriorChange .... DestroyPickup... (re)CreatePickup
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)