Some errors..
#4

First off 'amount ' can only hold one value so

pawn Код:
new amount = GetPlayerMoney(playerid);//is all u can do wth an int
second 'if' should look like this,

pawn Код:
if(amount >= GetPlayerMoney(playerid) || amount >= GetPlayerWeedAmount(playerid))//or simalar
If amount isn't global the first check amount >= GetPlayerMoney(playerid) would be pointless as we know it holds the players money in this example.
Reply


Messages In This Thread
Some errors.. - by willsuckformoney - 22.08.2010, 17:34
Re: Some errors.. - by iggy1 - 22.08.2010, 17:51
Re: Some errors.. - by willsuckformoney - 22.08.2010, 17:53
Re: Some errors.. - by iggy1 - 22.08.2010, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)