20.05.2015, 08:58
Hello guys,yesterday,with your support,i almost finished my dynamic dealership almost from scratch.
What i have to do now,i want to learn how to limit the models,like:
I want to be 10 infernus,when someone buys the tenth infernus,you can-t buy infernus anymore...so like 10 infernus on the hole server to be bought,and when the limit is reached,to stop the buy of infernus.
How can i doo it?I was thinking about a global variable and when the infernus is bought,to set that variable on +1 and then the limit [10 ] is reached,to stop the cmd but i dont actually know how.
Any tips are welcome.
Thanks in advance
What i have to do now,i want to learn how to limit the models,like:
I want to be 10 infernus,when someone buys the tenth infernus,you can-t buy infernus anymore...so like 10 infernus on the hole server to be bought,and when the limit is reached,to stop the buy of infernus.
How can i doo it?I was thinking about a global variable and when the infernus is bought,to set that variable on +1 and then the limit [10 ] is reached,to stop the cmd but i dont actually know how.
Any tips are welcome.
Thanks in advance