Any way
#5

Quote:
Originally Posted by justjamie
Посмотреть сообщение
isn't it easyer to use sscanf and check for 2 inputs, if it's more, just put a error.
Even if there's sscanf used, problem will still be the same if the seller writes both the player name and amount. The price amount should not be desirable in this case.

I'd say, create an array to hold specific prices for the vehicle depending on their model. So, seller just have to type /sellcar <name> and the price can be fetched.
Reply


Messages In This Thread
Any way - by Nin9r - 09.06.2016, 13:58
Re: Any way - by justjamie - 09.06.2016, 14:00
Re: Any way - by Vince - 09.06.2016, 14:01
Re: Any way - by justjamie - 09.06.2016, 14:03
Re: Any way - by Sjn - 09.06.2016, 15:22

Forum Jump:


Users browsing this thread: 1 Guest(s)