Help Please Confused On Counting..
#2

after u show the ammo dialog, accept the ammo in a variable. Then add a new float variable and it contains the money. For eg-
Quote:

new ammo=strval(inputtext);//under the dialog response of the ammo dialog
new Float:money;
money=ammo*0.5;
new str[80];
format(str,sizeof(str),"Total money : %f ",money);
ShowPlayerDialog(str);

Done!!
Reply


Messages In This Thread
Help Please Confused On Counting.. - by Buzzbomb - 23.11.2012, 04:48
Re: Help Please Confused On Counting.. - by Virus. - 23.11.2012, 07:34
Re: Help Please Confused On Counting.. - by Buzzbomb - 23.11.2012, 10:52
Re: Help Please Confused On Counting.. - by Buzzbomb - 23.11.2012, 20:28
Re: Help Please Confused On Counting.. - by Buzzbomb - 03.12.2012, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)