28.08.2016, 10:56
Quote:
Thanks a lot i'll test it,
So i can type anything instead of "lockerid?" i choose what to call it? |
It could be like forward LoadLockers(LID, name[], value[]);
or it could be LoadLockers(reallylongunneededname,name[], value[]);
with doing it this way when you make the load callback it's going to be really long.
PHP код:
public LoadLocker(reallylongunneededname, name[], value[])
{
INI_String("Text", LockerInfo[reallylongunneededname][Name], 128);
INI_Float("LockerZ", LockerInfo[reallylongunneededname][lockerz]);
INI_Float("LockerY", LockerInfo[reallylongunneededname][lockery]);
INI_Float("LockerX", LockerInfo[reallylongunneededname][lockerx]);
INI_Int("LTeam", LockerInfo[reallylongunneededname][lTeam]);
}