Help [Solved]
#3

Quote:
Originally Posted by Babul
no check for a wrong string like "12345abc" included (will be 0 then)
Код:
if(dialogid == 2)
{
	if(response)
	{
		new Amount=strval(inputtext);
		format(message, sizeof(message), "%d", Amount);
		GivePlayerMoney(playerid, Amount);
	}
}
kk thanks
________
Ferrari 156 F1 Specifications
Reply


Messages In This Thread
Help [Solved] - by ViruZZzZ_ChiLLL - 30.04.2010, 14:22
Re: Help - by Babul - 30.04.2010, 14:27
Re: Help - by ViruZZzZ_ChiLLL - 30.04.2010, 14:29

Forum Jump:


Users browsing this thread: 2 Guest(s)