Plate System [ REQ ]
#4

Quote:
Originally Posted by aRoach
Посмотреть сообщение
Anywhere... but not in another Callback... :
pawn Код:
LoadPlates()
{
    new File:H = fopen("CarPlates.ini",io_read);
    new str[128],car,plate[10];
    while(fread(H, str))
    {
        strmid(plate,str,0,strfind(str,"=",true));
        car = strval(plate);
        strmid(plate,str,strfind(str,"=",true),strlen(str)-1);
        SetVehicleNumberPlate(car,plate);
    }
}
Not only this. You need to create the file and save it to it.
Reply


Messages In This Thread
Plate System [ REQ ] - by XDTheProGamerz - 15.11.2011, 10:16
Re: Plate System [ REQ ] - by FarSe. - 15.11.2011, 11:30
Re: Plate System [ REQ ] - by aRoach - 15.11.2011, 11:45
Re: Plate System [ REQ ] - by Kostas' - 15.11.2011, 12:06
Re: Plate System [ REQ ] - by vassilis - 15.11.2011, 12:32
Re : Plate System [ REQ ] - by Jack_Loreva - 08.08.2012, 18:01

Forum Jump:


Users browsing this thread: 2 Guest(s)