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.