y_ini load
#5

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
False, you actually can!
I use it on several scripts, never had problems with it (INI_Float, INI_Int etc), heres a example from gCamera:

pawn Код:
forward LoadCam(cameraid,name[],value[]);
public LoadCam(cameraid,name[],value[])
{
    INI_Float("_x",SpeedCameras[cameraid][_x]);
    INI_Float("_y",SpeedCameras[cameraid][_y]);
    INI_Float("_z",SpeedCameras[cameraid][_z]);
    INI_Float("_rot",SpeedCameras[cameraid][_rot]);
    INI_Int("_range",SpeedCameras[cameraid][_range]);
    INI_Int("_limit",SpeedCameras[cameraid][_limit]);
    INI_Int("_fine",SpeedCameras[cameraid][_fine]);
    INI_Int("_usemph",SpeedCameras[cameraid][_usemph]);
    return 1;
}
Works without any problems at all.
Never saw that way, but okay. Let him try the way I posted, also the ParseFile might be wrong.
Reply


Messages In This Thread
y_ini load - by Rock_Ro - 09.04.2011, 14:59
Re: y_ini load - by gamer931215 - 09.04.2011, 18:41
Re: y_ini load - by Mean - 09.04.2011, 18:56
Re: y_ini load - by gamer931215 - 09.04.2011, 19:05
Re: y_ini load - by Mean - 09.04.2011, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)