Forward[REP++]
#1

I have this forwarded public
PHP код:
forward LoadUser_data(playerid,name[],value[]);
public 
LoadUser_data(playerid,name[],value[])
{
    
INI_Int("Password",PlayerInfo[playerid][pPass]);
    
INI_Int("Cash",PlayerInfo[playerid][pCash]);
    
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    
INI_Int("Kills",PlayerInfo[playerid][pKills]);
    
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    
INI_Int("Skin",PlayerInfo[playerid][pSkin]);
    
INI_Int("Ban",PlayerInfo[playerid][pBan]);
    
INI_Int("Score",PlayerInfo[playerid][pScore]);
    
INI_Int("Police",PlayerInfo[playerid][pPolice]);
    
INI_Int("Freeze",PlayerInfo[playerid][pFreeze]);
    
INI_Int("Gange",PlayerInfo[playerid][pGang]);
    
    
return 
1;

I want to make like it but for house so i add this

PHP код:
forward LoadHouse(house,id[],value[]);
public 
LoadHouse(house,id[],value[])
{
    
INI_Int("Owner",HInfo[id][Owner]);
    
INI_Int("Owned",HInfo[id][Owned]);
    
INI_Int("Price",HInfo[id][Price]);
    
INI_Int("Float:XPos",HInfo[id][Float:XPos]);
    
INI_Int("Float:YPos",HInfo[id][Float:YPos]);
    
INI_Int("Float:ZPos",HInfo[id][Float:ZPos]);
    
INI_Int("VirtualWorld",HInfo[id][VirtualWorld]);
    
INI_Int("Text3D:HouseLabel",HInfo[id][Text3D:HouseLabel]);
    return 
1;

But i doesn't work
here is the enum of the house info
PHP код:
enum HouseInfo
{
    
Owner[24],
    
Owned,
    
Price,
    
Float:XPos,
    
Float:YPos,
    
Float:ZPos,
    
VirtualWorld,
    
Text3D:HouseLabel

And
PHP код:
new HInfo[MAX_HOUSES][HouseInfo]; 
Please Help !
ReP ++
Reply


Messages In This Thread
Forward[REP++] - by nezo2001 - 01.01.2015, 14:22
Re: Forward[REP++] - by rickisme - 01.01.2015, 14:26
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 14:28
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 14:41
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 14:55
Re: Forward[REP++] - by Ryz - 01.01.2015, 14:58
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 15:13
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 15:24
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 15:43
Re: Forward[REP++] - by nezo2001 - 01.01.2015, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)