[Need Help With An Idea]
#1

I want to make a dialog for weapons but give a special twist to it.
I want that the first thing you see is type of weapons example:
pawn Код:
Rifles
Shotguns
Pistols
And so on.
And after that you get the types of lets say shotguns and then if you click sawn offs i want a empty line where you can type in the dialog and then you type how much bullets you want.
Is this idea possible to do ? or is it just a dream ?
I hope someone can help me with this.

/Artix
Reply
#2

Код:
WeaponModelID[MAX_PLAYERS];
Very possible, when you select the weapon, store the weapon modelid to a var. Then show the new input dialog box. When they enter the bullet count, use the stored var as the modelid, use the textinput from the dialog function for the bullets.

EDIT: If you need more helping coding this, just ask. No point me showing you code, if you understand how to do it.


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)