22.04.2014, 14:52
You get the message in the console/server log because you check if the registered money are not the same as the amount GetPlayerMoney returns. So check if the money is more than the registered money and then print the message:
pawn Код:
if (money > GetPlayerCash(i))
{
GetPlayerName(i,username,sizeof(username));
printf("%s has picked up/attempted to spawn $%d.", username, money - GetPlayerCash(i));
}