Try changing these lines to: PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &go); PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &go2); PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &go3); If that doesn't work try: PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &v); PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &v2); PL.GetPerson(0)->PushActionLeaveCar(ACTION_NEWLIST, &v3);