09.08.2012, 22:23
(
Последний раз редактировалось Join7; 11.08.2012 в 23:18.
)
The problem is: When someone sell his house (/sellhouse) and other player buy his house, seller does not receive money.
I added "#include <moneyhax_FS>" in GarHouse.pwn
in other filterscripts (Drift Points), it works and drifter received his money
GarHouse includes:
moneyhax_FS.inc (moneyhax_FS.inc is when i can to use money)
Thanks in advance!
I added "#include <moneyhax_FS>" in GarHouse.pwn
in other filterscripts (Drift Points), it works and drifter received his money
GarHouse includes:
PHP код:
#define FILTERSCRIPT // < is this problem? because when I remove this line GarHouse script found pawno crash.
#include <a_samp>
#include <sscanf2>
#include <YSI\y_ini>
#include <ZCMD>
#include <streamer>
#include <foreach>
#include <moneyhax_FS>
PHP код:
#if defined FILTERSCRIPT
#endinput
#endif
#if defined _moneyhax_included
#endinput
#endif
#define _moneyhax_included
stock moneyhax_GivePlayerMoney(playerid, amount)
return CallRemoteFunction("GivePlayerMonez", "ii", playerid, amount);
stock moneyhax_ResetPlayerMoney(playerid)
return CallRemoteFunction("ResetPlayerMonez", "i", playerid);
stock moneyhax_GetPlayerMoney(playerid)
return CallRemoteFunction("GetPlayerMonez", "i", playerid);
#define GivePlayerMoney moneyhax_GivePlayerMoney
#define ResetPlayerMoney moneyhax_ResetPlayerMoney
#define GetPlayerMoney moneyhax_GetPlayerMoney