how can I check
#4

Ok different story.

im trying to do this
pawn Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
    if(response == 1)
    {
        new File:hFile;
        hFile = fopen("Ustawienia/obiekty.txt", io_write);
        new line[128];
        format(line, sizeof(line), "%d, %f,%f,%f, %f,%f,%f,%d\r\n",Selected1[playerid], fX,fY,fZ,fRotX,fRotY,fRotZ,SelectedO[playerid]);
        fwrite(hFile, line);
    }
}
so after You click save in the new 0.3e editor, I want the created object to be updated, but to do that it has to overwrite this, but how without checking?
Reply


Messages In This Thread
how can I check - by HondaCBR - 10.04.2012, 15:32
Re: how can I check - by HondaCBR - 10.04.2012, 21:13
Re: how can I check - by Jonny5 - 10.04.2012, 21:59
Re: how can I check - by HondaCBR - 10.04.2012, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)