Not imputing the text
#3

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Could you stop coming here with every problem what you have? Its a tenth topic which i replying you. If you want to create a Gamemode then learn some scripting basics then go and do a RolePlay GM. I don't know why you're started of doing this GameMode.. that's a hard way of the first project.

By the way, show where you saving this code.
Don't reply then, simple as that?

LOL.

I appreciate your help, I have been working on this game-mode for months. Its just im not good with dynamic things, sorry for posting threads asking for help.

pawn Код:
SaveDynamicFaction() {

    new
        szFileStr[1024],
        File: fHandle = fopen("Factions/Factions.cfg", io_write);

    for(new iIndex; iIndex < MAX_GROUPS; iIndex++) {
        format(szFileStr, sizeof(szFileStr), "%i|%i|%d|%s|%s|%f|%f|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|$%i|%d\r\n",
            arrFaction[iIndex][g_iFactionID],
            arrFaction[iIndex][g_iFactionType],
            arrFaction[iIndex][g_szFactionName],
            arrFaction[iIndex][g_iLockerGuns],
            arrFaction[iIndex][g_iLockerCost],
            arrFaction[iIndex][g_iAllegiance],
            arrFaction[iIndex][g_iBugAccess],
            arrFaction[iIndex][g_iChatAccess],
            arrFaction[iIndex][g_iRadioAccess],
            arrFaction[iIndex][g_iDeptRadioAccess],
            arrFaction[iIndex][g_hDutyColour],
            arrFaction[iIndex][g_hRadioColour],
            arrFaction[iIndex][g_iShareAssets],
            arrFaction[iIndex][g_iLockerStock],
            arrFaction[iIndex][g_fLockerPos],
            arrFaction[iIndex][g_iLockerVW],
            arrFaction[iIndex][g_fCratePos],
            arrFaction[iIndex][g_iFacVault],
            arrFaction[iIndex][g_t3DLabels]
        );
        fwrite(fHandle, szFileStr);
    }
    fclose(fHandle);
    return 1;
}
Reply


Messages In This Thread
Not imputing the text - by RLGaming - 10.10.2012, 22:12
Re: Not imputing the text - by Riddick94 - 10.10.2012, 22:22
Re: Not imputing the text - by RLGaming - 10.10.2012, 22:24
Re: Not imputing the text - by ReneG - 10.10.2012, 23:38
Re: Not imputing the text - by RLGaming - 11.10.2012, 06:40
Re: Not imputing the text - by Riddick94 - 11.10.2012, 08:39
Re: Not imputing the text - by RLGaming - 11.10.2012, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)