Problem with moneyhax in GarHouse (REP +1)
#1

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:
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> 
moneyhax_FS.inc (moneyhax_FS.inc is when i can to use money)
PHP код:
#if defined FILTERSCRIPT
    #endinput
#endif
#if defined _moneyhax_included
    #endinput
#endif
#define _moneyhax_included
stock moneyhax_GivePlayerMoney(playeridamount)
    return 
CallRemoteFunction("GivePlayerMonez""ii"playeridamount);
    
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 
Thanks in advance!
Reply


Messages In This Thread
Problem with moneyhax in GarHouse (REP +1) - by Join7 - 09.08.2012, 22:23
Re: Problem with moneyhax in GarHouse (REP +1) - by Join7 - 10.08.2012, 13:01
Re: Problem with moneyhax in GarHouse (REP +1) - by Join7 - 11.08.2012, 22:51
Re: Problem with moneyhax in GarHouse (REP +1) - by Join7 - 12.08.2012, 10:28
Re: Problem with moneyhax in GarHouse (REP +1) - by Sig Hansen - 12.08.2012, 10:33
Re: Problem with moneyhax in GarHouse (REP +1) - by Join7 - 12.08.2012, 23:11

Forum Jump:


Users browsing this thread: 1 Guest(s)