// NetworkBuyFairgroundRide
void NETWORK_BUY_FAIRGROUND_RIDE(int amountSpent, Any p1, BOOL p2, BOOL p3);
The first parameter is the amount spent which is store in a global when this native is called. The global returns 10. Which is the price for both rides.
The last 3 parameters are,
2,0,1 in the am_ferriswheel.c
1,0,1 in the am_rollercoaster.c