Need help with createhouse..
#9

BTW big thanks mate

Ok thanks thats one.. but still question about loading...
pawn Code:
forward LoadHouse_data(playerid, name[], value[]);
public LoadHouse_data(playerid, name[], value[])
{
    new Name[24];
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    INI_String("Owner", Name, 48);
    INI_ParseFile(HousePath(playerid), "LoadHouse_data", .bExtra = true, .extra =%d);
    INI_Float("EnterenceX", hInfo[playerid][hEnterX]);
    INI_Float("EnterenceY", hInfo[playerid][hEnterY]);
    INI_Float("EnterenceZ", hInfo[playerid][hEnterZ]);
    INI_Float("ExitX", hInfo[playerid][hExitX]);
    INI_Float("ExitY", hInfo[playerid][hExitY]);
    INI_Float("ExitZ", hInfo[playerid][hExitZ]);
    INI_Int("Interior", hInfo[playerid][hInterior]);
    INI_Int("VW", hInfo[playerid][hVW]);
    INI_Int("Cost", hInfo[playerid][hCost]);
    INI_Int("Sell", hInfo[playerid][hSell]);
    INI_String("Phone", hInfo[playerid][hPhone], 16);
    INI_Int("Garderobe", hInfo[playerid][hGarderobe]);
    INI_Int("Garderobe1", hInfo[playerid][hGarderobe1]);
    INI_Int("Storage", hInfo[playerid][hStorage]);
    INI_Int("Storage1", hInfo[playerid][hStorage1]);
    INI_Int("Storage2", hInfo[playerid][hStorage2]);
    INI_Int("Storage3", hInfo[playerid][hStorage3]);
    INI_Int("Storage4", hInfo[playerid][hStorage4]);
    INI_Int("Storage5", hInfo[playerid][hStorage5]);
    INI_Int("Storage6", hInfo[playerid][hStorage6]);
    INI_Int("Storage7", hInfo[playerid][hStorage7]);
    INI_Int("Storage8", hInfo[playerid][hStorage8]);
    INI_Int("Storage9", hInfo[playerid][hStorage9]);
    INI_Int("Storage10", hInfo[playerid][hStorage10]);
    INI_Int("Money", hInfo[playerid][hMoney]);
    INI_Int("Drugs", hInfo[playerid][hDrugs]);
    INI_Int("Drugs1", hInfo[playerid][hDrugs1]);
    INI_Int("Drugs2", hInfo[playerid][hDrugs2]);
    INI_Int("Drugs3", hInfo[playerid][hDrugs3]);
    INI_Int("Drugs4", hInfo[playerid][hDrugs4]);
    INI_Int("Drugs5", hInfo[playerid][hDrugs5]);
    INI_Int("Drugs6", hInfo[playerid][hDrugs6]);
    INI_Int("Drugs7", hInfo[playerid][hDrugs7]);
    INI_Int("Drugs8", hInfo[playerid][hDrugs8]);
    INI_Int("Drugs9", hInfo[playerid][hDrugs9]);
    INI_Int("Drugs10", hInfo[playerid][hDrugs10]);
    INI_Int("Drugs11", hInfo[playerid][hDrugs11]);
    INI_Int("Products", hInfo[playerid][hProducts]);
    INI_Int("Products1", hInfo[playerid][hProducts1]);
    INI_Int("Products2", hInfo[playerid][hProducts2]);
    INI_Int("Products3", hInfo[playerid][hProducts3]);
    INI_Int("Products4", hInfo[playerid][hProducts4]);
    INI_Int("Products5", hInfo[playerid][hProducts5]);
    INI_Int("Products6", hInfo[playerid][hProducts6]);
    INI_Int("Products7", hInfo[playerid][hProducts7]);
    INI_Int("Products8", hInfo[playerid][hProducts8]);
    INI_Int("Products9", hInfo[playerid][hProducts9]);
    INI_Int("Products10", hInfo[playerid][hProducts10]);
    INI_Int("Products11", hInfo[playerid][hProducts11]);
    return 1;
}
Reply


Messages In This Thread
Need help with createhouse.. - by Scrillex - 19.10.2013, 22:57
Re: Need help with createhouse.. - by Zex Tan - 19.10.2013, 23:21
Re: Need help with createhouse.. - by EiresJason - 19.10.2013, 23:27
Re: Need help with createhouse.. - by Scrillex - 19.10.2013, 23:30
Re: Need help with createhouse.. - by EiresJason - 20.10.2013, 01:22
Re: Need help with createhouse.. - by Zex Tan - 20.10.2013, 01:54
Re: Need help with createhouse.. - by Scrillex - 20.10.2013, 08:31
Re: Need help with createhouse.. - by EiresJason - 20.10.2013, 08:38
Re: Need help with createhouse.. - by Scrillex - 20.10.2013, 08:45
Re: Need help with createhouse.. - by EiresJason - 20.10.2013, 09:07

Forum Jump:


Users browsing this thread: 2 Guest(s)