But it's last line in my gamemode ://
Last what I was added is:
pawn Код:
stock UpdateVozilo(id)
{
new saver[128];
new Spliter[256];
if(dini_Exists(File_Vozila))
{
format(saver,sizeof(saver),"ID_%d",id);
format(Spliter,sizeof(Spliter),
"%d,%d,\
%f,%f,%f,%f,\
%d,%d,%d,\
%s,\
%d",
Vozila[id][mKoristen],Vozila[id][mModel],
Vozila[id][mX],Vozila[id][mY],Vozila[id][mZ],Vozila[id][mA],
Vozila[id][mpBoja],Vozila[id][mdBoja],Vozila[id][mZakljucan],
Vozila[id][mVlasnik],
Vozila[id][mBroj]);
dini_Set(File_Vozila,saver,Spliter);
if(Vozila[id][mKoristen] == 0)
{
dini_Unset(File_Vozila ,saver);
}
}
return 1;
}
stock Ime(playerid)
{
new ime[MAX_PLAYER_NAME];
GetPlayerName(playerid, ime, MAX_PLAYER_NAME);
return ime;
} // <-------------------------------- ERROR LINE!!!!