25.01.2012, 15:20
Put it where you give them the gun preferably, give the gun inside the 'if' block. If you give the gun inside a case put it there.
pawn Код:
case 0:
{
if(GetPlayerMoney(playerid) >= YOUR_GUN_PRICE_HERE)
{
//player can afford the gun so give the gun here and reduce money
}
else
{
//player can't afford the gun send a message
}
}

