This commit is contained in:
BlaST
2010-07-03 11:45:02 +00:00
parent 9d5b264da3
commit 0c5b760ffe

View File

@@ -12786,7 +12786,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
{
new amount = PlayerHaul[tmpcar][pCapasity]-PlayerHaul[tmpcar][pLoad];
new cost = amount*compcost;
if()PlayerInfo[playerid][pCash]+500) >= cost)
if((PlayerInfo[playerid][pCash]+500) >= cost)
{
PlayerHaul[tmpcar][pLoad] = PlayerHaul[tmpcar][pCapasity];
format(string, sizeof(string), "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %d/%d", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]);