Resets on Loading
#5

Fixed the problem ,but now again 3D text label is not showed :

pawn Код:
forward LoadEntrances(e, name[], value[]);
public LoadEntrances(e, name[], value[])
{
    INI_String("Name", eInfo[e][Name],75);
    INI_Int("Interior", eInfo[e][Settings][0]);
    INI_Int("VirtualWorld", eInfo[e][Settings][1]);
    INI_Int("DarboPradzia", eInfo[e][EnterHours][0]);
    INI_Int("DarboPabaiga", eInfo[e][EnterHours][1]);
    INI_Float("EnterX", eInfo[e][enterPos][0]);
    INI_Float("EnterY", eInfo[e][enterPos][1]);
    INI_Float("EnterZ", eInfo[e][enterPos][2]);
    INI_Float("ExitX", eInfo[e][exitPos][0]);
    INI_Float("ExitY", eInfo[e][exitPos][1]);
    INI_Float("ExitZ", eInfo[e][exitPos][2]);

    new String[108];
    format( String, 108, "%s\nSpauskite [ENTER]", eInfo[e][Name]);
    eInfo[e][EntrancesText] = CreateDynamic3DTextLabel(String, CHATCOLOR_RED, eInfo[e][enterPos][0], eInfo[e][enterPos][1], eInfo[e][enterPos][2], 20.0, -1, -1, 0,-1, -1 , -1, 100);
    eInfo[e][ExitText] = CreateDynamic3DTextLabel(String, CHATCOLOR_RED, eInfo[e][exitPos][0], eInfo[e][exitPos][1], eInfo[e][exitPos][2], 20.0, -1, -1, 0,  eInfo[e][Settings][1], eInfo[e][Settings][0], -1, 100);
    printf("%f",eInfo[e][enterPos][0]);
    printf("%f",eInfo[e][enterPos][1]);
    printf("%f",eInfo[e][enterPos][2]);
    printf("%f",eInfo[e][exitPos][0]);
    printf("%f",eInfo[e][exitPos][1]);
    printf("%f",eInfo[e][exitPos][2]);
    return 1;
}
Reply


Messages In This Thread
Resets on Loading - by Dziugsas - 11.12.2014, 19:50
Re: Resets on Loading - by Dziugsas - 12.12.2014, 04:29
Re: Resets on Loading - by Raweresh - 12.12.2014, 04:44
Re: Resets on Loading - by Dziugsas - 12.12.2014, 11:52
Re: Resets on Loading - by Dziugsas - 12.12.2014, 12:30
Re: Resets on Loading - by Threshold - 12.12.2014, 13:41
Re: Resets on Loading - by Dziugsas - 12.12.2014, 14:16

Forum Jump:


Users browsing this thread: 2 Guest(s)