[HELP]Saving License Plate
#5

pawn Код:
public SavePlate(v, inputtext[])
{
    new entry[256];
    format(entry, sizeof(entry), "CarPlate/carplate%d.cfg",v);
    new File:test;
    if(!fexist(entry)) test = fopen(entry, io_readwrite), fclose(test);
    new File:hFile;
    hFile = fopen(entry, io_write);
    fwrite(hFile, inputtext);
    fclose(hFile);
}
Then you need to add a loop at LoadCars, know how to do that?
Reply


Messages In This Thread
[HELP]Saving License Plate - by pop.nicku - 07.10.2011, 14:43
Re: [HELP]Saving License Plate - by Jeffry - 07.10.2011, 19:48
Re: [HELP]Saving License Plate - by pop.nicku - 13.10.2011, 11:59
Re: [HELP]Saving License Plate - by whitedragon - 13.10.2011, 12:27
Re: [HELP]Saving License Plate - by Jeffry - 13.10.2011, 16:05
Re: [HELP]Saving License Plate - by pop.nicku - 14.10.2011, 14:06
Re: [HELP]Saving License Plate - by Jeffry - 14.10.2011, 15:46
Re: [HELP]Saving License Plate - by pop.nicku - 14.10.2011, 19:43
Re: [HELP]Saving License Plate - by Jeffry - 18.10.2011, 15:02
Re: [HELP]Saving License Plate - by W-P - 26.09.2012, 13:18

Forum Jump:


Users browsing this thread: 2 Guest(s)