02.05.2013, 06:04
Ok well, I think you'll need to change some stuff about that to get it to work correctly. For one I wouldn't do this
PayPlayerInArea(i, 1995.5, 1518.0, 2006.0, 1569.0, 100); I would use the streamer plugin and add a dynamic area then check if the player is in that area during the loop. Then for GetOldWeapons() and SetOldWeapons() would be called in these callbacks respectively OnPlayerEnterDynamicArea() and OnPlayerLeaveDynamicArea().
PayPlayerInArea(i, 1995.5, 1518.0, 2006.0, 1569.0, 100); I would use the streamer plugin and add a dynamic area then check if the player is in that area during the loop. Then for GetOldWeapons() and SetOldWeapons() would be called in these callbacks respectively OnPlayerEnterDynamicArea() and OnPlayerLeaveDynamicArea().