Think about a car shop
#4

I'll give you an example,
PHP код:
//When player click "Next"
new string[30];
format(stringsizeof(string), "%s"GetVehicleName(nextvehicle));
TextDrawSetString(vehiclenamestring);
format(stringsizeof(string), "$ %d"Vehicle[nextvehicle][Price]);
TextDrawSetString(vehiclepricestring);
format(stringsizeof(string), "%d  ~b~km"Vehicle[nextvehicle][km]);
TextDrawSetString(vehiclespeedstring);
//Then show em again to apply changes
TextDrawShowForPlayer(playeridvehiclename);
TextDrawShowForPlayer(playeridvehicleprice);
TextDrawShowForPlayer(playeridvehiclespeed); 
Reply


Messages In This Thread
Think about a car shop - by asto63 - 17.09.2016, 10:52
Re: Think about a car shop - by Shinja - 17.09.2016, 11:13
Re: Think about a car shop - by asto63 - 17.09.2016, 11:22
Re: Think about a car shop - by Shinja - 17.09.2016, 11:47
Re: Think about a car shop - by asto63 - 17.09.2016, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)