How could I get this to load on gamemodeinit?
#3

pawn Код:
OnGamemodeInit
{
            format(string, sizeof(string), "housefurniture/%d.ini", key);
            if(DOF2_FileExists(string))
            {
                new string2[50];
                format(string2, 50, "Furn%d", h);
                DOF2_SetInt(string, string2, h);
                format(string2, 50, "Furn%dObj", h);
                DOF2_SetInt(string, string2, objectid);
                format(string2, 50, "Furn%dX", h);
                DOF2_SetFloat(string, string2, X);
                format(string2, 50, "Furn%dY", h);
                DOF2_SetFloat(string, string2, Y);
                format(string2, 50, "Furn%dZ", h);
                DOF2_SetFloat(string, string2, Z);
                format(string2, 50, "Furn%dA", h);
                DOF2_SetFloat(string, string2, rotz);
                format(string2, 50, "Furn%dInt", h);
                DOF2_SetInt(string, string2, GetPlayerInterior(playerid));
            }
}
Reply


Messages In This Thread
How could I get this to load on gamemodeinit? - by Spliffy - 30.03.2014, 04:29
Re: How could I get this to load on gamemodeinit? - by Spliffy - 30.03.2014, 13:26
Re: How could I get this to load on gamemodeinit? - by Scrillex - 30.03.2014, 13:27
Re: How could I get this to load on gamemodeinit? - by Spliffy - 30.03.2014, 13:31
Re: How could I get this to load on gamemodeinit? - by BroZeus - 30.03.2014, 13:38
Re: How could I get this to load on gamemodeinit? - by Spliffy - 30.03.2014, 13:47
Re: How could I get this to load on gamemodeinit? - by BroZeus - 30.03.2014, 13:52
Re: How could I get this to load on gamemodeinit? - by Spliffy - 30.03.2014, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)