29.08.2010, 17:34
Hey guys. Ive got something weird.
This is from my /deposit command:
But when I have 150 money I can just deposit 10000. money. My money will just go down to red.
Please help
This is from my /deposit command:
pawn Код:
if(dialogid == 101){
new ammount = strval(inputtext);
if(response){
if(GetPlayerMoney(playerid >= ammount))
{
bank[playerid] += ammount;
GivePlayerMoney(playerid, -ammount);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Je hebt niet genoeg geld!");
}
}
}
Please help