18.03.2013, 01:13
Quote:
Hey guys, I want to do a buylevel cmd. Well, if the player has less than 15k, he shouldnt be able to buy it, cuz he still can get in minus. How do I set this, that his money wont get into minus? Just if he hasnt got 15k he cant buy
|
pawn Код:
new money = GetPlayerMoney(playerid);
if(money >= 15000)
{
/// do something here
}
else return SendClientMessage(playerid, -1, "U don't have 15k");