Posts: 207
Threads: 18
Joined: Jul 2012
Reputation:
0
Where is your "You have reached the limit of 2 vehicles" Message? Please paste it. I noticed that also you are not setting the value to 0 when someone sells either car 1 or 2.
Posts: 207
Threads: 18
Joined: Jul 2012
Reputation:
0
What are the two variables you are using to save the vehicles?
Posts: 268
Threads: 4
Joined: Jun 2012
Reputation:
0
for(new i = 0; i < MAX_BUYABLE_VEH; ++i)
to
for(new i = 0; i < MAX_BUYABLE_VEH; i++)
Posts: 268
Threads: 4
Joined: Jun 2012
Reputation:
0
try to change this
#define MAX_BUYABLE_VEH 50
to
#define MAX_BUYABLE_VEH 2