07.08.2010, 19:41
(
Последний раз редактировалось DiddyBop; 08.08.2010 в 06:23.
)
How do i withdrawl an amount, or value, From somones mysql account? Not resetting it, But checking if they have the amount first (I can do that), Then taking the amount required.
But how would i go about Just taking the amount out, Like in pawn GivePlayerMoney(playerid, -500);
?!!?
PHP код:
if($row[4] >= 60)
{
echo 'Ok you have enough...';
//Do mysql stuff here...
die;
}
if($row[4] <= 59)
{
echo 'You dont have enough!';
//Then the back button or redirect.
die;
}
?!!?