Add Player's name to car's name?
#7

When a vehicle is bought, Save it to a .ini file which also stores the following two variables

Players Name (The one who bought it)
Car Name (The cars name)

Then add it to your current enum/loading/saving system.
Now when you load it you could just do
pawn Код:
CarInfo[carid][PlayerName]; //Change this
CarInfo[carid][CarName];//Change this
Then add it to the name:
pawn Код:
format(bla,sizeof(bla), "%s's %s", CarInfo[carid][PlayerName], CarInfo[carid][CarName]");
Reply


Messages In This Thread
Add Player's name to car's name? - by Hyperfire - 12.02.2013, 09:53
Re: Add Player's name to car's name? - by Da_Noob - 12.02.2013, 10:45
Re: Add Player's name to car's name? - by Jstylezzz - 12.02.2013, 11:03
Re: Add Player's name to car's name? - by DrDoom151 - 12.02.2013, 11:07
Re: Add Player's name to car's name? - by Jstylezzz - 12.02.2013, 11:08
Re: Add Player's name to car's name? - by Hyperfire - 12.02.2013, 12:46
Re: Add Player's name to car's name? - by Neil. - 12.02.2013, 12:51
Re: Add Player's name to car's name? - by Hyperfire - 12.02.2013, 20:33
Re: Add Player's name to car's name? - by Neil. - 12.02.2013, 21:07
Re: Add Player's name to car's name? - by Hyperfire - 12.02.2013, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)