My YINI system is saving with no name.
#1

I have implemented to my gm a simple vehicle system using YINI.
The point is that the .ini files that it saves has no name and it braeks all up when loading de data.
I think there is a problem with my VehiclePath Stock.

ALL THE CODE HERE
Reply
#2

post the code
Reply
#3

Quote:
Originally Posted by angelxeneize
Посмотреть сообщение
post the code
Click "ALL THE CODE HERE"
Reply
#4

pawn Код:
stock VehiclePath(vehicleID)
{
    new strPath[64];
    format(strPath, sizeof(strPath), "/Coches/%d.ini");
 
    return strPath;
}
this to this--
pawn Код:
stock VehiclePath(vehicleID)
{
    new strPath[64];
    format(strPath, sizeof(strPath), "/Coches/%i.ini",vehicleID);
 
    return strPath;
}
Reply
#5

Yup, fixed. Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)