30.03.2015, 09:33
(
Последний раз редактировалось Sc0pion; 09.04.2015 в 14:14.
)
Fixed!
GivePlayerMoney(playerid, += hInfo[houseid][Price]);
You misunderstood, assume you own a house, set that house for sale and a guy purchases it the owner you wont receive the cash.
and the problem is with this part so I need to know how to fix: Код:
GivePlayerMoney(hInfo[houseid][Owner], hInfo[houseid][Price]); |
GiveMoney(playerid)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
return true;
}
PlayerInfo[playerid][pCash] += hInfo[houseid][Price];
GiveMoney(playerid);
I have anti-money hack already and after adding what you want me to, I receive a new error:
Код:
(781) : error 017: undefined symbol "PlayerInfo" (781) : warning 215: expression has no effect (781) : error 001: expected token: ";", but found "]" (781) : error 029: invalid expression, assumed zero (781) : fatal error 107: too many error messages on one line Код:
GivePlayerMoney(playerid, -hInfo[houseid][Price]); |
GivePlayerMoney(playerid, -hInfo[houseid][Price]);
Sorry, I didn't understand but I tried once hacking my own server didn't work.
|